diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2009-08-05 07:26:17 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2009-08-05 07:26:17 +0000 |
| commit | ea2b82b8fc4f9e2f09453be9117f961dc513d651 (patch) | |
| tree | f92971ee42c8f36f608a8860ac4754cce4a0e594 /llvm/lib/CodeGen | |
| parent | a2ce665f603fec12df1293b7d6b13f0cb21f0d78 (diff) | |
| download | bcm5719-llvm-ea2b82b8fc4f9e2f09453be9117f961dc513d651.tar.gz bcm5719-llvm-ea2b82b8fc4f9e2f09453be9117f961dc513d651.zip | |
Disable stack coloring with register for now. It's not able to set kill markers.
llvm-svn: 78179
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 6f0581a7fc8..8249501dc10 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -281,7 +281,9 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, // Perform stack slot coloring. if (OptLevel != CodeGenOpt::None) - PM.add(createStackSlotColoringPass(OptLevel >= CodeGenOpt::Aggressive)); + // FIXME: Re-enable coloring with register when it's capable of adding + // kill markers. + PM.add(createStackSlotColoringPass(false)); printAndVerify(PM); // Print the register-allocated code |

