[llvm] r247264 - Enable GlobalsAA by default

H.J. Lu via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 12:20:18 PDT 2015


On Thu, Sep 10, 2015 at 3:22 AM, James Molloy via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> 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."));
>

This triggered:

https://llvm.org/bugs/show_bug.cgi?id=24787

-- 
H.J.


More information about the llvm-commits mailing list