[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp AlphaTargetMachine.h

Chris Lattner lattner at cs.uiuc.edu
Wed Mar 22 21:43:31 PST 2006



Changes in directory llvm/lib/Target/Alpha:

AlphaTargetMachine.cpp updated: 1.21 -> 1.22
AlphaTargetMachine.h updated: 1.11 -> 1.12
---
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 -6)

 AlphaTargetMachine.cpp |    5 ++---
 AlphaTargetMachine.h   |    4 +---
 2 files changed, 3 insertions(+), 6 deletions(-)


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.cpp
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.21 llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.22
--- llvm/lib/Target/Alpha/AlphaTargetMachine.cpp:1.21	Mon Jan 23 15:56:07 2006
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.cpp	Wed Mar 22 23:43:15 2006
@@ -53,9 +53,8 @@
 #endif
 }
 
-AlphaTargetMachine::AlphaTargetMachine(const Module &M, IntrinsicLowering *IL,
-                                       const std::string &FS)
-  : TargetMachine("alpha", IL, true),
+AlphaTargetMachine::AlphaTargetMachine(const Module &M, const std::string &FS)
+  : TargetMachine("alpha", true),
     FrameInfo(TargetFrameInfo::StackGrowsDown, 16, 0),
     JITInfo(*this),
     Subtarget(M, FS)


Index: llvm/lib/Target/Alpha/AlphaTargetMachine.h
diff -u llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.11 llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.12
--- llvm/lib/Target/Alpha/AlphaTargetMachine.h:1.11	Mon Nov  7 20:11:51 2005
+++ llvm/lib/Target/Alpha/AlphaTargetMachine.h	Wed Mar 22 23:43:15 2006
@@ -24,7 +24,6 @@
 namespace llvm {
 
 class GlobalValue;
-class IntrinsicLowering;
 
 class AlphaTargetMachine : public TargetMachine {
   AlphaInstrInfo InstrInfo;
@@ -33,8 +32,7 @@
   AlphaSubtarget Subtarget;
 
 public:
-  AlphaTargetMachine(const Module &M, IntrinsicLowering *IL,
-                     const std::string &FS);
+  AlphaTargetMachine(const Module &M, const std::string &FS);
 
   virtual const AlphaInstrInfo *getInstrInfo() const { return &InstrInfo; }
   virtual const TargetFrameInfo  *getFrameInfo() const { return &FrameInfo; }






More information about the llvm-commits mailing list