[llvm] [VPlan] Preserve branch weights from VPlan0 through to codegen. (PR #213143)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 2 23:49:31 PDT 2026
================
@@ -592,6 +592,10 @@ struct VPlanTransforms {
/// enabled by prior widening of consecutive memory operations for now.
static void makeScalarizationDecisions(VPlan &Plan, VFRange &Range);
+ /// Drop the branch weights from all recipes that cannot preserve them.
+ /// Currently that are all recipes, except VPReplicateRecipes.
----------------
lukel97 wrote:
```suggestion
/// Currently this is all recipes except VPReplicateRecipes.
```
https://github.com/llvm/llvm-project/pull/213143
More information about the llvm-commits
mailing list