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/Transforms/IPO | |
| 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/Transforms/IPO')
| -rw-r--r-- | llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 56c09efa39d..62eb12c37a2 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -139,8 +139,8 @@ static cl::opt<bool> EnableEarlyCSEMemSSA( cl::desc("Enable the EarlyCSE w/ MemorySSA pass (default = on)")); static cl::opt<bool> EnableGVNHoist( - "enable-gvn-hoist", cl::init(false), cl::Hidden, - cl::desc("Enable the GVN hoisting pass (default = off)")); + "enable-gvn-hoist", cl::init(true), cl::Hidden, + cl::desc("Enable the GVN hoisting pass (default = on)")); static cl::opt<bool> DisableLibCallsShrinkWrap("disable-libcalls-shrinkwrap", cl::init(false), |

