GVN-hoist: enable by default

As we addressed all compilation time problems with GVN-hoist
https://llvm.org/bugs/show_bug.cgi?id=28670
this patch turns GVN-hoist back by default.

Differential Revision: https://reviews.llvm.org/D23136

llvm-svn: 277685
This commit is contained in:
Sebastian Pop 2016-08-04 01:59:42 +00:00
parent 3c86ed7f60
commit 70ffe6523f
1 changed files with 2 additions and 2 deletions

View File

@ -138,8 +138,8 @@ static cl::opt<int> PreInlineThreshold(
"(default = 75)"));
static cl::opt<bool> EnableGVNHoist(
"enable-gvn-hoist", cl::init(false), cl::Hidden,
cl::desc("Enable the experimental GVN Hoisting pass"));
"enable-gvn-hoist", cl::init(true), cl::Hidden,
cl::desc("Enable the GVN hoisting pass (default = on)"));
PassManagerBuilder::PassManagerBuilder() {
OptLevel = 2;