diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-25 06:47:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-25 06:47:10 +0000 |
commit | 5d70a7c4a536bdd764ef3122c91bea3382a4131b (patch) | |
tree | 9c0766367cf7a759fd1d34b06699dcb68e0b82dd /llvm/lib | |
parent | 71b8c980da20559d09992748ec4e158a0768d2a4 (diff) | |
download | bcm5719-llvm-5d70a7c4a536bdd764ef3122c91bea3382a4131b.tar.gz bcm5719-llvm-5d70a7c4a536bdd764ef3122c91bea3382a4131b.zip |
#include Intrinsics.h into all dag isels
llvm-svn: 27109
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/README.txt | 7 | ||||
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp | 1 | ||||
-rw-r--r-- | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 1 |
6 files changed, 12 insertions, 0 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp index 4c49fb9d0a2..9a1add9753b 100644 --- a/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp +++ b/llvm/lib/Target/Alpha/AlphaISelDAGToDAG.cpp @@ -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> diff --git a/llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp index 9ce3ea64767..1ab87a29ae8 100644 --- a/llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp +++ b/llvm/lib/Target/IA64/IA64ISelDAGToDAG.cpp @@ -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> diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 2941b342660..8e5cff798f9 100644 --- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp @@ -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> diff --git a/llvm/lib/Target/PowerPC/README.txt b/llvm/lib/Target/PowerPC/README.txt index 12599cb2fa8..410aa8a7edc 100644 --- a/llvm/lib/Target/PowerPC/README.txt +++ b/llvm/lib/Target/PowerPC/README.txt @@ -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. + +===-------------------------------------------------------------------------=== + diff --git a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp index b27769a932c..71f2ace3e70 100644 --- a/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -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" diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index 5d096ef6100..48132505888 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -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" |