First bits of 64 bit PowerPC stuff, currently disabled. A lot of this is

purely mechanical.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nate Begeman
2005-10-18 00:28:58 +00:00
parent a0e221dc75
commit 1d9d7427c4
9 changed files with 154 additions and 88 deletions

View File

@ -99,9 +99,9 @@ bool PPCTargetMachine::addPassesToEmitFile(PassManager &PM,
// Install an instruction selector.
if (!DisablePPCDAGDAG)
PM.add(createPPC32ISelDag(*this));
PM.add(createPPCISelDag(*this));
else
PM.add(createPPC32ISelPattern(*this));
PM.add(createPPCISelPattern(*this));
if (PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(&std::cerr));
@ -156,9 +156,9 @@ void PPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
// Install an instruction selector.
if (!DisablePPCDAGDAG)
PM.add(createPPC32ISelDag(TM));
PM.add(createPPCISelDag(TM));
else
PM.add(createPPC32ISelPattern(TM));
PM.add(createPPCISelPattern(TM));
PM.add(createRegisterAllocator());
PM.add(createPrologEpilogCodeInserter());