[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:24 PST 2024


================
@@ -9278,7 +9277,7 @@ void VPReductionRecipe::execute(VPTransformState &State) {
             NewVecOp);
       PrevInChain = NewRed;
     } else {
-      PrevInChain = State.get(getChainOp(), Part);
+      PrevInChain = State.get(getChainOp(), VPIteration(Part, 0));
----------------
fhahn wrote:

Updated, thanks!

https://github.com/llvm/llvm-project/pull/80271


More information about the llvm-commits mailing list