diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2018-08-29 11:58:34 +0000 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2018-08-29 11:58:34 +0000 |
commit | c03b9b8854399aa5234fdee1eb3838ce4adccbaf (patch) | |
tree | ea0fd651193d3e7e1ca44d57647014d3a2dbec6e /llvm/lib/Passes/PassBuilder.cpp | |
parent | 1dafaa87d9c3b25f53bd18cab18725dd1d76023e (diff) | |
download | bcm5719-llvm-c03b9b8854399aa5234fdee1eb3838ce4adccbaf.tar.gz bcm5719-llvm-c03b9b8854399aa5234fdee1eb3838ce4adccbaf.zip |
[GVNHoist] Re-enable GVNHoist by default
Rebase rL338240 since the excessive memory usage observed when using
GVNHoist with UBSan has been fixed by rL340818.
Differential Revision: https://reviews.llvm.org/D49858
llvm-svn: 340922
Diffstat (limited to 'llvm/lib/Passes/PassBuilder.cpp')
-rw-r--r-- | llvm/lib/Passes/PassBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Passes/PassBuilder.cpp b/llvm/lib/Passes/PassBuilder.cpp index eb04dcc8b6e..a714ac2c05e 100644 --- a/llvm/lib/Passes/PassBuilder.cpp +++ b/llvm/lib/Passes/PassBuilder.cpp @@ -174,8 +174,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, |