summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorSebastian Pop <sebpop@gmail.com>2016-08-04 01:59:42 +0000
committerSebastian Pop <sebpop@gmail.com>2016-08-04 01:59:42 +0000
commit70ffe6523f1b94c134fcc8d285ee58eeb574dd9f (patch)
tree3d249db2ef64e39166d2d8f558935a53a1e5af90 /llvm/lib/Transforms
parent3c86ed7f603a79b97eb1b9a23a4e1d25ec9ea3a4 (diff)
downloadbcm5719-llvm-70ffe6523f1b94c134fcc8d285ee58eeb574dd9f.tar.gz
bcm5719-llvm-70ffe6523f1b94c134fcc8d285ee58eeb574dd9f.zip
GVN-hoist: enable by default
As we addressed all compilation time problems with GVN-hoist https://llvm.org/bugs/show_bug.cgi?id=28670 this patch turns GVN-hoist back by default. Differential Revision: https://reviews.llvm.org/D23136 llvm-svn: 277685
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/IPO/PassManagerBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
index 99fb422e254..2bf88703d2a 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -138,8 +138,8 @@ static cl::opt<int> PreInlineThreshold(
"(default = 75)"));
static cl::opt<bool> EnableGVNHoist(
- "enable-gvn-hoist", cl::init(false), cl::Hidden,
- cl::desc("Enable the experimental GVN Hoisting pass"));
+ "enable-gvn-hoist", cl::init(true), cl::Hidden,
+ cl::desc("Enable the GVN hoisting pass (default = on)"));
PassManagerBuilder::PassManagerBuilder() {
OptLevel = 2;
OpenPOWER on IntegriCloud