diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-12 06:25:28 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-12 06:25:28 +0000 |
commit | 250283916dd1654d5f482b2ee9fd0af41bc5f1bf (patch) | |
tree | d9915b66beb814c8843ca9f749c68cffad4bdc17 /llvm/lib/CodeGen/LLVMTargetMachine.cpp | |
parent | 14471365538696cedb502bc097bbfc3ca45a93a0 (diff) | |
download | bcm5719-llvm-250283916dd1654d5f482b2ee9fd0af41bc5f1bf.tar.gz bcm5719-llvm-250283916dd1654d5f482b2ee9fd0af41bc5f1bf.zip |
Enable post regalloc machine licm by default.
llvm-svn: 101023
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LLVMTargetMachine.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index ced6664c4a3..a62f0f6caae 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -66,9 +66,6 @@ static cl::opt<bool> VerifyMachineCode("verify-machineinstrs", cl::Hidden, cl::desc("Verify generated machine code"), cl::init(getenv("LLVM_VERIFY_MACHINEINSTRS")!=NULL)); -static cl::opt<bool> PostRAMachineLICM("postra-machine-licm", cl::Hidden, - cl::desc("Enable post-regalloc Machine LICM")); - static cl::opt<cl::boolOrDefault> AsmVerbose("asm-verbose", cl::desc("Add comments to directives."), cl::init(cl::BOU_UNSET)); @@ -348,8 +345,7 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, printAndVerify(PM, "After StackSlotColoring"); // Run post-ra machine LICM to hoist reloads / remats. - if (PostRAMachineLICM) - PM.add(createMachineLICMPass(false)); + PM.add(createMachineLICMPass(false)); } // Run post-ra passes. |