From: Max Kazantsev Date: Tue, 27 Nov 2018 06:19:42 +0000 (+0000) Subject: [LoopSimplifyCFG] Turn on term folding after underlying bug fixed X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=70b11c6d31a5f0a545f50922818f5e47b7fe0717;p=platform%2Fupstream%2Fllvm.git [LoopSimplifyCFG] Turn on term folding after underlying bug fixed llvm-svn: 347641 --- diff --git a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp index f2d592f..157e200 100644 --- a/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp +++ b/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp @@ -42,7 +42,7 @@ using namespace llvm; #define DEBUG_TYPE "loop-simplifycfg" static cl::opt EnableTermFolding("enable-loop-simplifycfg-term-folding", - cl::init(false)); + cl::init(true)); STATISTIC(NumTerminatorsFolded, "Number of terminators folded to unconditional branches");