[PATCH] D12529: [GMR] Turn on GMR by default in non-LTO pipelines

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 06:43:01 PDT 2015


jmolloy created this revision.
jmolloy added a reviewer: chandlerc.
jmolloy added a subscriber: llvm-commits.
jmolloy set the repository for this revision to rL LLVM.

This has been talked about for a while on the list. Now that most passes are fixed not to invalidate GMR, it's actually useful and has shown nontrivial benefits on our benchmarking. It's also useful to get this more widely tested. 

Repository:
  rL LLVM

http://reviews.llvm.org/D12529

Files:
  lib/Transforms/IPO/PassManagerBuilder.cpp

Index: lib/Transforms/IPO/PassManagerBuilder.cpp
===================================================================
--- lib/Transforms/IPO/PassManagerBuilder.cpp
+++ lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -95,7 +95,7 @@
     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."));
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12529.33686.patch
Type: text/x-patch
Size: 558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150901/e4d7694c/attachment.bin>


More information about the llvm-commits mailing list