[llvm] r262839 - Revert "Enable LoopLoadElimination by default"
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 09:38:03 PST 2016
Author: anemet
Date: Mon Mar 7 11:38:02 2016
New Revision: 262839
URL: http://llvm.org/viewvc/llvm-project?rev=262839&view=rev
Log:
Revert "Enable LoopLoadElimination by default"
This reverts commit r262250.
It causes SPEC2006/gcc to generate wrong result (166.s) in AArch64 when
running with *ref* data set. The error happens with
"-Ofast -flto -fuse-ld=gold" or "-O3 -fno-strict-aliasing".
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=262839&r1=262838&r2=262839&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Mon Mar 7 11:38:02 2016
@@ -104,8 +104,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(true), cl::Hidden,
- cl::desc("Enable the LoopLoadElimination Pass"));
+ "enable-loop-load-elim", cl::init(false), cl::Hidden,
+ cl::desc("Enable the new, experimental LoopLoadElimination Pass"));
static cl::opt<std::string> RunPGOInstrGen(
"profile-generate", cl::init(""), cl::Hidden,
More information about the llvm-commits
mailing list