mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Don't run stack slot coloring if -fast.
llvm-svn: 52933
This commit is contained in:
parent
e9f33e576d
commit
488fdf516f
@ -99,7 +99,8 @@ LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
|
||||
PM.add(createRegisterAllocator());
|
||||
|
||||
// Perform stack slot coloring.
|
||||
PM.add(createStackSlotColoringPass());
|
||||
if (!Fast)
|
||||
PM.add(createStackSlotColoringPass());
|
||||
|
||||
if (PrintMachineCode) // Print the register-allocated code
|
||||
PM.add(createMachineFunctionPrinterPass(cerr));
|
||||
@ -235,7 +236,8 @@ bool LLVMTargetMachine::addPassesToEmitMachineCode(PassManagerBase &PM,
|
||||
PM.add(createRegisterAllocator());
|
||||
|
||||
// Perform stack slot coloring.
|
||||
PM.add(createStackSlotColoringPass());
|
||||
if (!Fast)
|
||||
PM.add(createStackSlotColoringPass());
|
||||
|
||||
if (PrintMachineCode)
|
||||
PM.add(createMachineFunctionPrinterPass(cerr));
|
||||
|
Loading…
Reference in New Issue
Block a user