aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-04-12 06:25:28 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-04-12 06:25:28 +0000
commit09010a30fdb58426fc06c5c97956db35dcd90979 (patch)
tree11608b6b099aeca0bdd7846bb83f8fd77a5860eb /lib/CodeGen/LLVMTargetMachine.cpp
parent22ff748712b348300e51248339b6e8cf9b59e2c6 (diff)
downloadexternal_llvm-09010a30fdb58426fc06c5c97956db35dcd90979.zip
external_llvm-09010a30fdb58426fc06c5c97956db35dcd90979.tar.gz
external_llvm-09010a30fdb58426fc06c5c97956db35dcd90979.tar.bz2
Enable post regalloc machine licm by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp
index ced6664..a62f0f6 100644
--- a/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/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.