[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp PPCTargetMachine.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Mar 22 21:43:32 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCTargetMachine.cpp updated: 1.84 -> 1.85
PPCTargetMachine.h updated: 1.17 -> 1.18
---
Log message:
Eliminate IntrinsicLowering from TargetMachine.
Make the CBE and V9 backends create their own, since they're the only ones that use it.
---
Diffs of the changes: (+3 -8)
PPCTargetMachine.cpp | 6 ++----
PPCTargetMachine.h | 5 +----
2 files changed, 3 insertions(+), 8 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.84 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.85
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.84 Thu Mar 16 15:47:42 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp Wed Mar 22 23:43:15 2006
@@ -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 @@
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) {
Index: llvm/lib/Target/PowerPC/PPCTargetMachine.h
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.h:1.17 llvm/lib/Target/PowerPC/PPCTargetMachine.h:1.18
--- llvm/lib/Target/PowerPC/PPCTargetMachine.h:1.17 Mon Mar 13 17:20:37 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.h Wed Mar 22 23:43:15 2006
@@ -23,9 +23,7 @@
namespace llvm {
class PassManager;
-class IntrinsicLowering;
class GlobalValue;
-class IntrinsicLowering;
class PPCTargetMachine : public TargetMachine {
PPCInstrInfo InstrInfo;
@@ -35,8 +33,7 @@
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; }
More information about the llvm-commits
mailing list