[llvm] r351520 - Re-enable terminator folding in LoopSimplifyCFG: underlying bugs fixed
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 17 20:57:32 PST 2019
Author: mkazantsev
Date: Thu Jan 17 20:57:32 2019
New Revision: 351520
URL: http://llvm.org/viewvc/llvm-project?rev=351520&view=rev
Log:
Re-enable terminator folding in LoopSimplifyCFG: underlying bugs fixed
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp?rev=351520&r1=351519&r2=351520&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp Thu Jan 17 20:57:32 2019
@@ -42,7 +42,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");
More information about the llvm-commits
mailing list