Skip to content

Commit

Permalink
GVN-hoist: enable by default
Browse files Browse the repository at this point in the history
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277685 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
sebpop committed Aug 4, 2016
1 parent f935d6f commit e718640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Transforms/IPO/PassManagerBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e718640

Please sign in to comment.