aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-13 22:03:06 +0000
committerChris Lattner <sabre@nondot.org>2005-09-13 22:03:06 +0000
commitaf165385112037cb942e94ea562a67990b7d6220 (patch)
tree22eaefd0c562a9f2166c6af709f9d7df3d3f562b
parent6de8b53230a44b3e09801e8bf100a110d03a2b64 (diff)
move the #include for the generated code into the isel class body so we
can use/define class methods git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23339 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCISelDAGToDAG.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index e342d71921..df74246430 100644
--- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -97,10 +97,12 @@ namespace {
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.