summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-03-14 19:40:25 +0000
committerAdam Nemet <anemet@apple.com>2016-03-14 19:40:25 +0000
commit5a19ae917b9d0c2c127e56c887ceb283c8922ec8 (patch)
tree3637d9af3e10cf6e3ceac79c9261837498a17b56
parent71a8686244ad6b4393b88373f2ceba7bfb155b2a (diff)
downloadbcm5719-llvm-5a19ae917b9d0c2c127e56c887ceb283c8922ec8.tar.gz
bcm5719-llvm-5a19ae917b9d0c2c127e56c887ceb283c8922ec8.zip
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 llvm-svn: 263472
-rw-r--r--llvm/lib/Transforms/IPO/PassManagerBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index 3bc9cd51413..80c93477e64 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -105,8 +105,8 @@ static cl::opt<bool> EnableNonLTOGlobalsModRef(
"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,
OpenPOWER on IntegriCloud