[llvm] r263472 - Turn LoopLoadElimination on again
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 14 12:40:26 PDT 2016
Author: anemet
Date: Mon Mar 14 14:40:25 2016
New Revision: 263472
URL: http://llvm.org/viewvc/llvm-project?rev=263472&view=rev
Log:
Turn LoopLoadElimination on again
The two issues that were discovered got fixed (r263058, r263173).
The pass can be disabled with -mllvm -enable-loop-load-elim=0
Modified:
llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
Modified: llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp?rev=263472&r1=263471&r2=263472&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Mon Mar 14 14:40:25 2016
@@ -105,8 +105,8 @@ static cl::opt<bool> EnableNonLTOGlobals
"Enable the GlobalsModRef AliasAnalysis outside of the LTO pipeline."));
static cl::opt<bool> EnableLoopLoadElim(
- "enable-loop-load-elim", cl::init(false), cl::Hidden,
- cl::desc("Enable the new, experimental LoopLoadElimination Pass"));
+ "enable-loop-load-elim", cl::init(true), cl::Hidden,
+ cl::desc("Enable the LoopLoadElimination Pass"));
static cl::opt<std::string> RunPGOInstrGen(
"profile-generate", cl::init(""), cl::Hidden,
More information about the llvm-commits
mailing list