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

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 13 15:03:18 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32ISelDAGToDAG.cpp updated: 1.75 -> 1.76
---
Log message:

move the #include for the generated code into the isel class body so we 
can use/define class methods


---
Diffs of the changes:  (+3 -1)

 PPC32ISelDAGToDAG.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.75 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.76
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.75	Fri Sep  9 19:21:06 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp	Tue Sep 13 17:03:06 2005
@@ -97,10 +97,12 @@
     virtual const char *getPassName() const {
       return "PowerPC DAG->DAG Pattern Instruction Selection";
     } 
+
+// Include the pieces autogenerated from the target description.
+#include "PPC32GenDAGISel.inc"
   };
 }
 
-#include "PPC32GenDAGISel.inc"
 
 /// getGlobalBaseReg - Output the instructions required to put the
 /// base address to use for accessing globals into a register.






More information about the llvm-commits mailing list