Goodbye PPC pattern isel. You have served us well, but it is now time for

you to ride off into the sunset.

llvm-svn: 25236
This commit is contained in:
Chris Lattner 2006-01-12 01:46:07 +00:00
parent 9d5e4e8f3c
commit 33792a483a
3 changed files with 2 additions and 1725 deletions

View File

@ -27,7 +27,6 @@ enum PPCTargetEnum {
};
FunctionPass *createPPCBranchSelectionPass();
FunctionPass *createPPCISelPattern(TargetMachine &TM);
FunctionPass *createPPCISelDag(TargetMachine &TM);
FunctionPass *createDarwinAsmPrinter(std::ostream &OS, TargetMachine &TM);
FunctionPass *createAIXAsmPrinter(std::ostream &OS, TargetMachine &TM);

File diff suppressed because it is too large Load Diff

View File

@ -29,9 +29,6 @@
using namespace llvm;
namespace {
static cl::opt<bool> DisablePPCDAGDAG("disable-ppc-dag-isel", cl::Hidden,
cl::desc("Disable DAG-to-DAG isel for PPC"));
// Register the targets
RegisterTarget<PPCTargetMachine>
X("ppc32", " PowerPC");
@ -100,10 +97,7 @@ bool PPCTargetMachine::addPassesToEmitFile(PassManager &PM,
PM.add(createUnreachableBlockEliminationPass());
// Install an instruction selector.
if (!DisablePPCDAGDAG)
PM.add(createPPCISelDag(*this));
else
PM.add(createPPCISelPattern(*this));
if (PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(&std::cerr));
@ -157,10 +151,7 @@ void PPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
PM.add(createUnreachableBlockEliminationPass());
// Install an instruction selector.
if (!DisablePPCDAGDAG)
PM.add(createPPCISelDag(TM));
else
PM.add(createPPCISelPattern(TM));
PM.add(createRegisterAllocator());
PM.add(createPrologEpilogCodeInserter());