mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Enable the register allocator pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4829 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0721867c8d
commit
f88a2853c8
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user