summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-09-10 10:22:20 +0000
committerJames Molloy <james.molloy@arm.com>2015-09-10 10:22:20 +0000
commitd47634d78123c998dd2ae58dbf5ec29ee832b0b4 (patch)
tree5fa631ec05f7e86cedde8919cdcb658347b7ee06 /llvm/lib/Transforms
parentefbba72cb282c80bb4bebae0f52e3a43b95fbd55 (diff)
downloadbcm5719-llvm-d47634d78123c998dd2ae58dbf5ec29ee832b0b4.tar.gz
bcm5719-llvm-d47634d78123c998dd2ae58dbf5ec29ee832b0b4.zip
Enable GlobalsAA by default
This can give significant improvements to alias analysis in some situations, and improves its testing coverage in all situations. llvm-svn: 247264
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/PassManagerBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index fcb62db06e9..6b113ff9b7f 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -95,7 +95,7 @@ static cl::opt<bool> EnableLoopDistribute(
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."));
OpenPOWER on IntegriCloud