diff options
author | Evan Cheng <evan.cheng@apple.com> | 2009-05-12 18:31:57 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2009-05-12 18:31:57 +0000 |
commit | c94de92c54afa8cb5e2c5200148e858d3cef3b1a (patch) | |
tree | 634c392accf34eb6287f58dbb49e2d62ebd4e15b /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | cb368e295d9c95abf4c0a9c014c7e0ffa7b45f2a (diff) | |
download | bcm5719-llvm-c94de92c54afa8cb5e2c5200148e858d3cef3b1a.tar.gz bcm5719-llvm-c94de92c54afa8cb5e2c5200148e858d3cef3b1a.zip |
Fixed a stack slot coloring with reg bug: do not update implicit use / def when doing forward / backward propagation.
llvm-svn: 71574
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index c93ecdab476..cf16a652fbc 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -193,8 +193,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, // Perform stack slot coloring. if (OptLevel != CodeGenOpt::None) - PM.add(createStackSlotColoringPass(false)); - /*OptLevel >= CodeGenOpt::Aggressive*/ + PM.add(createStackSlotColoringPass(OptLevel >= CodeGenOpt::Aggressive)); if (PrintMachineCode) // Print the register-allocated code PM.add(createMachineFunctionPrinterPass(cerr)); |