Skip to content

Commit bde33af

Browse files
author
Serguei Katkov
committed
[Loop Peeling] Enable peeling of multiple exits by default.
Enable loop peeling with multiple exits where all non-latch exits ends up with deopt by default. Reviewers: reames, fhahn Reviewed By: reames Subscribers: xbolva00, hiraditya, zzheng, llvm-commits Differential Revision: https://reviews.llvm.org/D64619 llvm-svn: 366542
1 parent 6ae86ea commit bde33af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static cl::opt<unsigned> UnrollForcePeelCount(
6262
cl::desc("Force a peel count regardless of profiling information."));
6363

6464
static cl::opt<bool> UnrollPeelMultiDeoptExit(
65-
"unroll-peel-multi-deopt-exit", cl::init(false), cl::Hidden,
65+
"unroll-peel-multi-deopt-exit", cl::init(true), cl::Hidden,
6666
cl::desc("Allow peeling of loops with multiple deopt exits."));
6767

6868
// Designates that a Phi is estimated to become invariant after an "infinite"

0 commit comments

Comments
 (0)