From 420736dc85c01702bb7bc40495f8a4be5e5f8a6c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 25 Mar 2006 06:47:10 +0000 Subject: [PATCH] #include Intrinsics.h into all dag isels git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27109 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Alpha/AlphaISelDAGToDAG.cpp | 1 + lib/Target/IA64/IA64ISelDAGToDAG.cpp | 1 + lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 1 + lib/Target/PowerPC/README.txt | 7 +++++++ lib/Target/Sparc/SparcISelDAGToDAG.cpp | 1 + lib/Target/X86/X86ISelDAGToDAG.cpp | 1 + 6 files changed, 12 insertions(+) diff --git a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp b/lib/Target/Alpha/AlphaISelDAGToDAG.cpp index 4c49fb9d0a2..9a1add9753b 100644 --- a/lib/Target/Alpha/AlphaISelDAGToDAG.cpp +++ b/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 diff --git a/lib/Target/IA64/IA64ISelDAGToDAG.cpp b/lib/Target/IA64/IA64ISelDAGToDAG.cpp index 9ce3ea64767..1ab87a29ae8 100644 --- a/lib/Target/IA64/IA64ISelDAGToDAG.cpp +++ b/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 diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp index 2941b342660..8e5cff798f9 100644 --- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp +++ b/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 diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt index 12599cb2fa8..410aa8a7edc 100644 --- a/lib/Target/PowerPC/README.txt +++ b/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/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index b27769a932c..71f2ace3e70 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/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/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index 5d096ef6100..48132505888 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/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" -- 2.34.1