summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kazantsev <max.kazantsev@azul.com>2019-02-13 06:12:48 +0000
committerMax Kazantsev <max.kazantsev@azul.com>2019-02-13 06:12:48 +0000
commit5cf777e41387c84518a9ff2ec1222058daf54e58 (patch)
treefd547200c6632845632e519fc56368e51a140f42
parentd085748484193f3b4f9c73fa339b4390f7092f41 (diff)
downloadbcm5719-llvm-5cf777e41387c84518a9ff2ec1222058daf54e58.tar.gz
bcm5719-llvm-5cf777e41387c84518a9ff2ec1222058daf54e58.zip
[LoopSimplifyCFG] Re-enable const branch folding by default
Known underlying bugs have been fixed, intensive fuzz testing did not find any new problems. Re-enabling by default. Feel free to revert if it causes any functional failures. llvm-svn: 353911
-rw-r--r--llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
index 4058c1d685c..746ca9ec31b 100644
--- a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
@@ -41,7 +41,7 @@ using namespace llvm;
#define DEBUG_TYPE "loop-simplifycfg"
static cl::opt<bool> EnableTermFolding("enable-loop-simplifycfg-term-folding",
- cl::init(false));
+ cl::init(true));
STATISTIC(NumTerminatorsFolded,
"Number of terminators folded to unconditional branches");
OpenPOWER on IntegriCloud