Enable the register allocator pass.

llvm-svn: 4829
This commit is contained in:
Misha Brukman 2002-11-22 22:45:07 +00:00
parent 60286d0916
commit 55cf6bfae4
1 changed files with 5 additions and 1 deletions

View File

@ -36,8 +36,12 @@ bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) {
PM.add(createMachineFunctionPrinterPass());
// Perform register allocation to convert to a concrete x86 representation
//PM.add(createSimpleX86RegisterAllocator(*this));
PM.add(createSimpleX86RegisterAllocator(*this));
// Print the instruction selected machine code...
// PM.add(createMachineFunctionPrinterPass());
// Print the register-allocated code
PM.add(createX86CodePrinterPass(*this, std::cerr));
//PM.add(createEmitX86CodeToMemory(*this));