[llvm] [VPlan] Consistently use (Part, 0) for first lane scalar values (PR #80271)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 19 04:11:46 PST 2024
================
@@ -788,13 +793,13 @@ void VPlan::prepareToExecute(Value *TripCountV, Value *VectorTripCountV,
}
for (unsigned Part = 0, UF = State.UF; Part < UF; ++Part)
- State.set(&VectorTripCount, VectorTripCountV, Part);
+ State.set(&VectorTripCount, VectorTripCountV, VPIteration(Part, 0));
----------------
fhahn wrote:
Now the underlying value is set as suggested above, so neither are stored in State.
https://github.com/llvm/llvm-project/pull/80271
More information about the llvm-commits
mailing list