diff options
| author | Matthias Braun <matze@braunis.de> | 2016-08-06 02:23:15 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2016-08-06 02:23:15 +0000 |
| commit | 9a0035d8d218a99e8b76ad63c927a77d26a5d256 (patch) | |
| tree | 35f52a908a5b13e1f7ef46d9843c4abe3d422c5d /llvm | |
| parent | 31d8c9af89e7a9485c1aed0013b424413f7452aa (diff) | |
| download | bcm5719-llvm-9a0035d8d218a99e8b76ad63c927a77d26a5d256.tar.gz bcm5719-llvm-9a0035d8d218a99e8b76ad63c927a77d26a5d256.zip | |
Revert "(refs/bisect/bad) GVN-hoist: enable by default"
GVN-Hoist appears to miscompile llvm-testsuite
SingleSource/Benchmarks/Misc/fbench.c at the moment.
I filed http://llvm.org/PR28880
This reverts commit r277786.
llvm-svn: 277909
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/IPO/PassManagerBuilder.cpp | 4 | ||||
| -rw-r--r-- | llvm/test/Feature/optnone-opt.ll | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp index 2bf88703d2a..99fb422e254 100644 --- a/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp +++ b/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp @@ -138,8 +138,8 @@ static cl::opt<int> PreInlineThreshold( "(default = 75)")); static cl::opt<bool> EnableGVNHoist( - "enable-gvn-hoist", cl::init(true), cl::Hidden, - cl::desc("Enable the GVN hoisting pass (default = on)")); + "enable-gvn-hoist", cl::init(false), cl::Hidden, + cl::desc("Enable the experimental GVN Hoisting pass")); PassManagerBuilder::PassManagerBuilder() { OptLevel = 2; diff --git a/llvm/test/Feature/optnone-opt.ll b/llvm/test/Feature/optnone-opt.ll index a00013ec179..f53877d4aea 100644 --- a/llvm/test/Feature/optnone-opt.ll +++ b/llvm/test/Feature/optnone-opt.ll @@ -41,7 +41,6 @@ attributes #0 = { optnone noinline } ; OPT-O1-DAG: Skipping pass 'Combine redundant instructions' ; OPT-O1-DAG: Skipping pass 'Dead Store Elimination' ; OPT-O1-DAG: Skipping pass 'Early CSE' -; OPT-O1-DAG: Skipping pass 'Early GVN Hoisting of Expressions' ; OPT-O1-DAG: Skipping pass 'Jump Threading' ; OPT-O1-DAG: Skipping pass 'MemCpy Optimization' ; OPT-O1-DAG: Skipping pass 'Reassociate expressions' |

