[llvm] [LoopPeel] Fix BFI when peeling last iteration without guard (PR #168250)
Joel E. Denny via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 19 08:32:51 PST 2025
================
@@ -71,6 +73,7 @@ class BranchProbability {
uint32_t getNumerator() const { return N; }
static uint32_t getDenominator() { return D; }
+ double toDouble() const { return double(N) / D; }
----------------
jdenny-ornl wrote:
Done.
https://github.com/llvm/llvm-project/pull/168250
More information about the llvm-commits
mailing list