[PATCH] D110922: [LoopPeel] Peel loops with deoptimizing exits
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 1 05:05:35 PDT 2021
lebedev.ri added reviewers: fhahn, reames, skatkov.
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/BasicBlockUtils.cpp:504
+ if (Succ->getTerminatingDeoptimizeCall() ||
+ isa<UnreachableInst>(Succ->getTerminator())) {
+ DeoptimizingBlocks.push_back(Succ);
----------------
Nice, i was about to ask for that.
But doesn't this lead to the issues with branch weights discussed in D108108?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110922/new/
https://reviews.llvm.org/D110922
More information about the llvm-commits
mailing list