[llvm] [VPlan] Set branch weight metadata on middle term in VPlan (NFC) (PR #143035)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 12 04:16:17 PDT 2025
================
@@ -7295,11 +7322,8 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
VPlanTransforms::convertToConcreteRecipes(BestVPlan,
*Legal->getWidestInductionType());
- // Retrieve and store the middle block before dissolving regions. Regions are
- // dissolved after optimizing for VF and UF, which completely removes unneeded
- // loop regions first.
----------------
ayalz wrote:
This part of the comment explains the positioning of `dissolveLoopRegions()` below, so should be retained?
```
// Regions are dissolved after optimizing for VF and UF, which completely removes unneeded
// loop regions first.
```
https://github.com/llvm/llvm-project/pull/143035
More information about the llvm-commits
mailing list