summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Passes
diff options
context:
space:
mode:
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>2018-09-11 15:55:45 +0000
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>2018-09-11 15:55:45 +0000
commitdb18e972d70c74f60770442b30758492753ea6ef (patch)
treeb5975b8b010b60d1dc1ab61ab26a71ed548364a7 /llvm/lib/Passes
parentbaf2628043d159e46839cef1aa8beb313079f8e4 (diff)
downloadbcm5719-llvm-db18e972d70c74f60770442b30758492753ea6ef.tar.gz
bcm5719-llvm-db18e972d70c74f60770442b30758492753ea6ef.zip
[GVNHoist] Re-enable GVNHoist by default
Rebase rL340922 since https://bugs.llvm.org/show_bug.cgi?id=38807 has been fixed by rL341947. llvm-svn: 341954
Diffstat (limited to 'llvm/lib/Passes')
-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 d7b9dfca34a..6d719d2a311 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(false), cl::Hidden,
- cl::desc("Enable the GVN hoisting pass for the new PM (default = off)"));
+ "enable-npm-gvn-hoist", cl::init(true), cl::Hidden,
+ cl::desc("Enable the GVN hoisting pass for the new PM (default = on)"));
static cl::opt<bool> EnableGVNSink(
"enable-npm-gvn-sink", cl::init(false), cl::Hidden,
OpenPOWER on IntegriCloud