summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-04-27 00:28:03 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-04-27 00:28:03 +0000
commitc246a4c973ebc878b27a44c03e74ad74e9949e74 (patch)
tree08ed033a0308acb6ef82c6773e39e08d7a57f616 /llvm/lib/Transforms
parent2d1f6e1191639b6c8c3526472f9995795d257dd7 (diff)
downloadbcm5719-llvm-c246a4c973ebc878b27a44c03e74ad74e9949e74.tar.gz
bcm5719-llvm-c246a4c973ebc878b27a44c03e74ad74e9949e74.zip
Disable GVN Hoist due to still more bugs being found in it. There is
also a discussion about exactly what we should do prior to re-enabling it. The current bug is http://llvm.org/PR32821 and the discussion about this is in the review thread for r300200. llvm-svn: 301505
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 0d5910ebbfc..590fabf8808 100644
--- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
+++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
@@ -137,8 +137,8 @@ static cl::opt<int> PreInlineThreshold(
"(default = 75)"));
static cl::opt<bool> EnableGVNHoist(
- "enable-gvn-hoist", cl::init(true), cl::Hidden,
- cl::desc("Enable the GVN hoisting pass (default = on)"));
+ "enable-gvn-hoist", cl::init(false), cl::Hidden,
+ cl::desc("Enable the GVN hoisting pass (default = off)"));
static cl::opt<bool>
DisableLibCallsShrinkWrap("disable-libcalls-shrinkwrap", cl::init(false),
OpenPOWER on IntegriCloud