diff options
author | Serguei Katkov <serguei.katkov@azul.com> | 2019-07-19 08:35:45 +0000 |
---|---|---|
committer | Serguei Katkov <serguei.katkov@azul.com> | 2019-07-19 08:35:45 +0000 |
commit | bde33af85a1bf591fcc6cf9391054b0a4f6c5b46 (patch) | |
tree | 836def59b5b106e117ff7f5aab4661b7f0fc391d /llvm/lib/Transforms | |
parent | 6ae86ea2752126d386206cd92ef6a905f6f58598 (diff) | |
download | bcm5719-llvm-bde33af85a1bf591fcc6cf9391054b0a4f6c5b46.tar.gz bcm5719-llvm-bde33af85a1bf591fcc6cf9391054b0a4f6c5b46.zip |
[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
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp b/llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp index 005306cf189..d55c0eb7c6e 100644 --- a/llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp +++ b/llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp @@ -62,7 +62,7 @@ static cl::opt<unsigned> UnrollForcePeelCount( cl::desc("Force a peel count regardless of profiling information.")); static cl::opt<bool> UnrollPeelMultiDeoptExit( - "unroll-peel-multi-deopt-exit", cl::init(false), cl::Hidden, + "unroll-peel-multi-deopt-exit", cl::init(true), cl::Hidden, cl::desc("Allow peeling of loops with multiple deopt exits.")); // Designates that a Phi is estimated to become invariant after an "infinite" |