[llvm-branch-commits] [llvm] [LoopPeel] Fix branch weights' effect on block frequencies (PR #128785)
Joel E. Denny via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 24 15:52:50 PDT 2025
================
@@ -850,27 +852,35 @@ llvm::getLoopEstimatedTripCount(Loop *L,
getEstimatedTripCount(LatchBranch, L, ExitWeight)) {
if (EstimatedLoopInvocationWeight)
*EstimatedLoopInvocationWeight = ExitWeight;
+ if (auto EstimatedTripCount =
----------------
jdenny-ornl wrote:
I have made PR #148758 the base for this PR, which is now much simpler.
https://github.com/llvm/llvm-project/pull/128785
More information about the llvm-branch-commits
mailing list