diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-03-23 05:43:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-03-23 05:43:16 +0000 |
| commit | 6f95ab7abbdaac36d1781d05a96df8a15859c2bf (patch) | |
| tree | f2e31b79eb445b3174b41f06caed721387cba49f /llvm/lib/Target/PowerPC | |
| parent | a4dd9bb63d768f1d8b5451ff9d9921346cab1346 (diff) | |
| download | bcm5719-llvm-6f95ab7abbdaac36d1781d05a96df8a15859c2bf.tar.gz bcm5719-llvm-6f95ab7abbdaac36d1781d05a96df8a15859c2bf.zip | |
Eliminate IntrinsicLowering from TargetMachine.
Make the CBE and V9 backends create their own, since they're the only ones that use it.
llvm-svn: 26974
Diffstat (limited to 'llvm/lib/Target/PowerPC')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 6 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.h | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index 8985a4364f8..60829560a32 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -18,7 +18,6 @@ #include "llvm/Module.h" #include "llvm/PassManager.h" #include "llvm/Analysis/Verifier.h" -#include "llvm/CodeGen/IntrinsicLowering.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/Passes.h" #include "llvm/Target/TargetOptions.h" @@ -58,9 +57,8 @@ unsigned PPCTargetMachine::getModuleMatchQuality(const Module &M) { return getJITMatchQuality()/2; } -PPCTargetMachine::PPCTargetMachine(const Module &M, IntrinsicLowering *IL, - const std::string &FS) -: TargetMachine("PowerPC", IL, false, 4, 4, 4, 4, 4, 4, 2, 1, 1), +PPCTargetMachine::PPCTargetMachine(const Module &M, const std::string &FS) +: TargetMachine("PowerPC", false, 4, 4, 4, 4, 4, 4, 2, 1, 1), Subtarget(M, FS), FrameInfo(*this, false), JITInfo(*this), TLInfo(*this), InstrItins(Subtarget.getInstrItineraryData()) { if (TargetDefault == PPCTarget) { diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.h b/llvm/lib/Target/PowerPC/PPCTargetMachine.h index 4038a2a84fa..3b2e481c7b5 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.h +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.h @@ -23,9 +23,7 @@ namespace llvm { class PassManager; -class IntrinsicLowering; class GlobalValue; -class IntrinsicLowering; class PPCTargetMachine : public TargetMachine { PPCInstrInfo InstrInfo; @@ -35,8 +33,7 @@ class PPCTargetMachine : public TargetMachine { PPCTargetLowering TLInfo; InstrItineraryData InstrItins; public: - PPCTargetMachine(const Module &M, IntrinsicLowering *IL, - const std::string &FS); + PPCTargetMachine(const Module &M, const std::string &FS); virtual const PPCInstrInfo *getInstrInfo() const { return &InstrInfo; } virtual const TargetFrameInfo *getFrameInfo() const { return &FrameInfo; } |

