[llvm] r347641 - [LoopSimplifyCFG] Turn on term folding after underlying bug fixed
Max Kazantsev via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 26 22:19:42 PST 2018
Author: mkazantsev
Date: Mon Nov 26 22:19:42 2018
New Revision: 347641
URL: http://llvm.org/viewvc/llvm-project?rev=347641&view=rev
Log:
[LoopSimplifyCFG] Turn on term folding after underlying bug 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=347641&r1=347640&r2=347641&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopSimplifyCFG.cpp Mon Nov 26 22:19:42 2018
@@ -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