[llvm] [LoopVectorize] Generate wide active lane masks (PR #147535)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 06:52:07 PDT 2025
================
@@ -4214,9 +4214,15 @@ VectorizationFactor LoopVectorizationPlanner::selectVectorizationFactor() {
}
}
}
- [[fallthrough]];
----------------
david-arm wrote:
Hmm, I don't think this is right because previously when falling through it was hitting the VPInstruction::ExplicitVectorLength case below and adding on the cost of the instruction, i.e. `C += VPI->cost(VF, CostCtx)`.
If you change this to
```
C += VPI->cost(VF, CostCtx);
break;
```
then it will be the same as before.
https://github.com/llvm/llvm-project/pull/147535
More information about the llvm-commits
mailing list