summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
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
commit03e08eefc76a766b3327376c20e8dba43d2f5c4a (patch)
tree3e5f89f3c3ede58a5eb11793e82766ef3329f26f /llvm/lib/Target
parent3556d849da1a846e14baa533e9293fa75c5e1e4a (diff)
downloadbcm5719-llvm-03e08eefc76a766b3327376c20e8dba43d2f5c4a.tar.gz
bcm5719-llvm-03e08eefc76a766b3327376c20e8dba43d2f5c4a.zip
move the #include for the generated code into the isel class body so we
can use/define class methods llvm-svn: 23339
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index e342d71921e..df742464306 100644
--- a/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud