diff options
author | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2018-09-17 12:24:55 +0000 |
---|---|---|
committer | Alexandros Lamprineas <alexandros.lamprineas@arm.com> | 2018-09-17 12:24:55 +0000 |
commit | 8a1c374b2e5250f90f0e534eac3afb7cbee7acc7 (patch) | |
tree | f0b35bd3f119c16543d535ed3abe0bffca8de69c /llvm/lib/Passes/PassBuilder.cpp | |
parent | a195de86599bc46c7f603097bd5668d595fc09fb (diff) | |
download | bcm5719-llvm-8a1c374b2e5250f90f0e534eac3afb7cbee7acc7.tar.gz bcm5719-llvm-8a1c374b2e5250f90f0e534eac3afb7cbee7acc7.zip |
[GVNHoist] Re-enable GVNHoist by default
Rebase rL341954 since https://bugs.llvm.org/show_bug.cgi?id=38912
has been fixed by rL342055.
Precommit testing performed:
* Overnight runs of csmith comparing the output between programs
compiled with gvn-hoist enabled/disabled.
* Bootstrap builds of clang with UbSan/ASan configurations.
llvm-svn: 342387
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 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, |