From 03e08eefc76a766b3327376c20e8dba43d2f5c4a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 13 Sep 2005 22:03:06 +0000 Subject: move the #include for the generated code into the isel class body so we can use/define class methods llvm-svn: 23339 --- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Target') 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. -- cgit v1.2.3