[all-commits] [llvm/llvm-project] b2ca73: [CodeGen] Fix profiled triangular CFG threshold in...
artyo_Om via All-commits
all-commits at lists.llvm.org
Fri Apr 17 09:24:44 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b2ca7319ca38553d111b9519dfc7a4a2e2e3ac3b
https://github.com/llvm/llvm-project/commit/b2ca7319ca38553d111b9519dfc7a4a2e2e3ac3b
Author: artyo_Om <art.maklakov28 at gmail.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M llvm/lib/CodeGen/MachineBlockPlacement.cpp
A llvm/test/CodeGen/X86/block-placement-triangle-profile-likely-prob.mir
Log Message:
-----------
[CodeGen] Fix profiled triangular CFG threshold in MachineBlockPlacement (#188752)
Fix an assertion failure in MachineBlockPlacement for profiled
triangular CFGs with large -profile-likely-prob values.
The existing triangular-CFG threshold scaling can produce a
BranchProbability greater than 1. Capping to `BranchProbability(100,
100)` added.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list