[GlobalsAA] Turn GlobalsAA on again by default
authorJames Molloy <james.molloy@arm.com>
Tue, 13 Oct 2015 10:43:57 +0000 (10:43 +0000)
committerJames Molloy <james.molloy@arm.com>
Tue, 13 Oct 2015 10:43:57 +0000 (10:43 +0000)
Now that all the known faults with GlobalsAA have been fixed, flip the big switch on -enable-non-lto-gmr again.

Feel free to pester me with any more bugs found, and don't hesitate to flip the switch back off.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250157 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/PassManagerBuilder.cpp

index 77c2de035f7763af6d4a881ab89ae1730c273963..f7b8ef382231a050e5f1922e8a369ba3a82aead2 100644 (file)
@@ -95,7 +95,7 @@ static cl::opt<bool> EnableLoopDistribute(
     cl::desc("Enable the new, experimental LoopDistribution Pass"));
 
 static cl::opt<bool> EnableNonLTOGlobalsModRef(
     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."));
 
     cl::desc(
         "Enable the GlobalsModRef AliasAnalysis outside of the LTO pipeline."));