[llvm] [VPlan] Consistently use (Part, 0) for first lane scalar values (PR #80271)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 21 15:52:41 PST 2024
================
@@ -1640,7 +1649,7 @@ void VPCanonicalIVPHIRecipe::execute(VPTransformState &State) {
EntryPart->addIncoming(Start, VectorPH);
EntryPart->setDebugLoc(getDebugLoc());
for (unsigned Part = 0, UF = State.UF; Part < UF; ++Part)
- State.set(this, EntryPart, Part);
+ State.set(this, EntryPart, VPIteration(Part, 0));
----------------
ayalz wrote:
```suggestion
State.set(this, EntryPart, Part, true /* scalar */);
```
https://github.com/llvm/llvm-project/pull/80271
More information about the llvm-commits
mailing list