[GVNHoist] Re-enable GVNHoist by default
authorAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Mon, 17 Sep 2018 12:24:55 +0000 (12:24 +0000)
committerAlexandros Lamprineas <alexandros.lamprineas@arm.com>
Mon, 17 Sep 2018 12:24:55 +0000 (12:24 +0000)
commit8a1c374b2e5250f90f0e534eac3afb7cbee7acc7
treef0b35bd3f119c16543d535ed3abe0bffca8de69c
parenta195de86599bc46c7f603097bd5668d595fc09fb
[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
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
llvm/test/Other/new-pm-defaults.ll
llvm/test/Other/new-pm-thinlto-defaults.ll
llvm/test/Other/opt-O2-pipeline.ll
llvm/test/Other/opt-O3-pipeline.ll
llvm/test/Other/opt-Os-pipeline.ll