[llvm] r247264 - Enable GlobalsAA by default
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 03:22:20 PDT 2015
Author: jamesm
Date: Thu Sep 10 05:22:20 2015
New Revision: 247264
URL: http://llvm.org/viewvc/llvm-project?rev=247264&view=rev
Log:
Enable GlobalsAA by default
This can give significant improvements to alias analysis in some situations, and improves its testing coverage in all situations.
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=247264&r1=247263&r2=247264&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/PassManagerBuilder.cpp Thu Sep 10 05:22:20 2015
@@ -95,7 +95,7 @@ static cl::opt<bool> EnableLoopDistribut
cl::desc("Enable the new, experimental LoopDistribution Pass"));
static cl::opt<bool> EnableNonLTOGlobalsModRef(
- "enable-non-lto-gmr", cl::init(false), cl::Hidden,
+ "enable-non-lto-gmr", cl::init(true), cl::Hidden,
cl::desc(
"Enable the GlobalsModRef AliasAnalysis outside of the LTO pipeline."));
More information about the llvm-commits
mailing list