[llvm] [VPlan] Consistently use (Part, 0) for first lane scalar values (PR #80271)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 22 05:20:25 PST 2024
================
@@ -407,7 +408,7 @@ Value *VPInstruction::generateInstruction(VPTransformState &State,
}
case VPInstruction::ComputeReductionResult: {
if (Part != 0)
- return State.get(this, 0);
+ return State.get(this, VPIteration(0, 0));
----------------
fhahn wrote:
Adjusted, thanks!
https://github.com/llvm/llvm-project/pull/80271
More information about the llvm-commits
mailing list