[PATCH] D97747: [LoopUnrollRuntime] Add option to assume the non latch exit block to be predictable.

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 3 10:55:10 PST 2021


bmahjour accepted this revision.
bmahjour added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp:510
   return (OtherExits.size() == 1 &&
-          OtherExits[0]->getTerminatingDeoptimizeCall());
+          (UnrollRuntimeOtherExitPredictable ||
+           OtherExits[0]->getTerminatingDeoptimizeCall()));
----------------
Meinersbur wrote:
> Looks sensible to me. @bmahjour ?
LGTM too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97747/new/

https://reviews.llvm.org/D97747



More information about the llvm-commits mailing list