summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Passes/PassBuilder.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2018-10-01 18:57:08 +0000
committerEric Christopher <echristo@gmail.com>2018-10-01 18:57:08 +0000
commitdcf1d97c5c0ca92a52faae0d1b3b37becce2b4ef (patch)
tree788befb15b0fcc8bfbe4a0228eceb4709fd21b06 /llvm/lib/Passes/PassBuilder.cpp
parent9659bfda5a6493241c6e62bcc54c74f33d045c88 (diff)
downloadbcm5719-llvm-dcf1d97c5c0ca92a52faae0d1b3b37becce2b4ef.tar.gz
bcm5719-llvm-dcf1d97c5c0ca92a52faae0d1b3b37becce2b4ef.zip
Temporarily revert "[GVNHoist] Re-enable GVNHoist by default"
This reverts commit r342387 as it's showing significant performance regressions in a number of benchmarks. Followed up with the committer and original thread with an example and will get performance numbers before recommitting. llvm-svn: 343522
Diffstat (limited to 'llvm/lib/Passes/PassBuilder.cpp')
-rw-r--r--llvm/lib/Passes/PassBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp
index 6d719d2a311..d7b9dfca34a 100644
--- a/llvm/lib/Passes/PassBuilder.cpp
+++ b/llvm/lib/Passes/PassBuilder.cpp
@@ -175,8 +175,8 @@ static cl::opt<bool> EnableEarlyCSEMemSSA(
cl::desc("Enable the EarlyCSE w/ MemorySSA pass for the new PM (default = on)"));
static cl::opt<bool> EnableGVNHoist(
- "enable-npm-gvn-hoist", cl::init(true), cl::Hidden,
- cl::desc("Enable the GVN hoisting pass for the new PM (default = on)"));
+ "enable-npm-gvn-hoist", cl::init(false), cl::Hidden,
+ cl::desc("Enable the GVN hoisting pass for the new PM (default = off)"));
static cl::opt<bool> EnableGVNSink(
"enable-npm-gvn-sink", cl::init(false), cl::Hidden,
OpenPOWER on IntegriCloud