[GlobalsAA] Disable globals-aa by default
authorJames Molloy <james.molloy@arm.com>
Tue, 15 Sep 2015 10:44:06 +0000 (10:44 +0000)
committerJames Molloy <james.molloy@arm.com>
Tue, 15 Sep 2015 10:44:06 +0000 (10:44 +0000)
Several issues have been found with it - disabling in the meantime.

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

lib/Transforms/IPO/PassManagerBuilder.cpp

index 6b113ff9b7f3a4c0319a0abbc16cbaea0297641a..fcb62db06e93f7c5c7bcd3db58006cbab446cd31 100644 (file)
@@ -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(true), cl::Hidden,
+    "enable-non-lto-gmr", cl::init(false), cl::Hidden,
     cl::desc(
         "Enable the GlobalsModRef AliasAnalysis outside of the LTO pipeline."));