[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Aug 18 11:34:12 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32ISelDAGToDAG.cpp updated: 1.9 -> 1.10
---
Log message:

remove some unused stuff


---
Diffs of the changes:  (+0 -10)

 PPC32ISelDAGToDAG.cpp |   10 ----------
 1 files changed, 10 deletions(-)


Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.9 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.10
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.9	Thu Aug 18 13:01:39 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp	Thu Aug 18 13:34:00 2005
@@ -35,20 +35,10 @@
   class PPC32DAGToDAGISel : public SelectionDAGISel {
     PPC32TargetLowering PPC32Lowering;
     
-    unsigned GlobalBaseReg;
-    bool GlobalBaseInitialized;
   public:
     PPC32DAGToDAGISel(TargetMachine &TM)
       : SelectionDAGISel(PPC32Lowering), PPC32Lowering(TM) {}
     
-    /// runOnFunction - Override this function in order to reset our
-    /// per-function variables.
-    virtual bool runOnFunction(Function &Fn) {
-      // Make sure we re-emit a set of the global base reg if necessary
-      GlobalBaseInitialized = false;
-      return SelectionDAGISel::runOnFunction(Fn);
-    }
-    
     /// getI32Imm - Return a target constant with the specified value, of type
     /// i32.
     inline SDOperand getI32Imm(unsigned Imm) {






More information about the llvm-commits mailing list