[llvm] [VPlan] Use BlockFrequencyInfo's full mass for execution frequencies. (PR #227006)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 07:50:34 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-vectorizers
Author: Florian Hahn (fhahn)
<details>
<summary>Changes</summary>
Use BlockFrequencyInfo's full mass instead of custom 2^63 for "always execute".
This updates VPlan's block frequencies to match BFI.
---
Full diff: https://github.com/llvm/llvm-project/pull/227006.diff
7 Files Affected:
- (modified) llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp (+6-3)
- (modified) llvm/lib/Transforms/Vectorize/VPlanUtils.cpp (+4-3)
- (modified) llvm/lib/Transforms/Vectorize/VPlanUtils.h (+1-6)
- (modified) llvm/test/Transforms/LoopVectorize/VPlan/execution-frequencies-match-bfi.ll (+89-89)
- (modified) llvm/test/Transforms/LoopVectorize/VPlan/record-execution-frequencies.ll (+11-11)
- (modified) llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll (+3-3)
- (modified) llvm/test/Transforms/LoopVectorize/VPlan/vplan-printing-branch-weights.ll (+5-5)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/227006
More information about the llvm-commits
mailing list