#include Intrinsics.h into all dag isels
authorChris Lattner <sabre@nondot.org>
Sat, 25 Mar 2006 06:47:10 +0000 (06:47 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 25 Mar 2006 06:47:10 +0000 (06:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27109 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelDAGToDAG.cpp
lib/Target/IA64/IA64ISelDAGToDAG.cpp
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/README.txt
lib/Target/Sparc/SparcISelDAGToDAG.cpp
lib/Target/X86/X86ISelDAGToDAG.cpp

index 4c49fb9d0a28e094e1f9d4635ee02edf5850760e..9a1add9753ba729d4578a0b8d982a2d76a2cf1f8 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Constants.h"
 #include "llvm/GlobalValue.h"
+#include "llvm/Intrinsics.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include <algorithm>
index 9ce3ea64767980902fbe8ca5b71ab2e5bda07dfc..1ab87a29ae8fb9bbae13ff1f94c4f7b86900ac62 100644 (file)
@@ -24,6 +24,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Constants.h"
 #include "llvm/GlobalValue.h"
+#include "llvm/Intrinsics.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include <iostream>
index 2941b3426606c0abd301ac77fed76d9b94cf8f52..8e5cff798f98cd1de56ad0dc9bccbdeed29ef1ea 100644 (file)
@@ -25,6 +25,7 @@
 #include "llvm/ADT/Statistic.h"
 #include "llvm/Constants.h"
 #include "llvm/GlobalValue.h"
+#include "llvm/Intrinsics.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
 #include <iostream>
index 12599cb2fa8a01e332d37050d3c7b3df259d565a..410aa8a7edc5c8df9c33761e688491c8da39856d 100644 (file)
@@ -594,3 +594,10 @@ void func(unsigned int *ret, float dx, float dy, float dz, float dw) {
   *ret = code;
 }
 
+===-------------------------------------------------------------------------===
+
+There are a wide range of vector constants we can generate with combinations of
+altivec instructions.  For example, GCC does: t=vsplti*, r = t+t.
+
+===-------------------------------------------------------------------------===
+
index b27769a932cb0910769e489aca9af09a87a0f147..71f2ace3e705de547a3578d87b3cd9819f16919d 100644 (file)
@@ -15,6 +15,7 @@
 #include "SparcTargetMachine.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Function.h"
+#include "llvm/Intrinsics.h"
 #include "llvm/CodeGen/MachineFrameInfo.h"
 #include "llvm/CodeGen/MachineFunction.h"
 #include "llvm/CodeGen/MachineInstrBuilder.h"
index 5d096ef61000b85899f666a6efff7972a281f464..48132505888cab501fda174e7ac0966758fb5976 100644 (file)
@@ -21,6 +21,7 @@
 #include "X86TargetMachine.h"
 #include "llvm/GlobalValue.h"
 #include "llvm/Instructions.h"
+#include "llvm/Intrinsics.h"
 #include "llvm/Support/CFG.h"
 #include "llvm/CodeGen/MachineConstantPool.h"
 #include "llvm/CodeGen/MachineFunction.h"