[llvm] r263595 - Turn LoopLoadElimination on again
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 15 15:26:12 PDT 2016
Author: anemet
Date: Tue Mar 15 17:26:12 2016
New Revision: 263595
URL: http://llvm.org/viewvc/llvm-project?rev=263595&view=rev
Log:
Turn LoopLoadElimination on again
The latent bug that LLE exposed in the LoopVectorizer was resolved
(PR26952).
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=263595&r1=263594&r2=263595&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Tue Mar 15 17:26:12 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