[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


================
@@ -1711,7 +1720,7 @@ void VPExpandSCEVRecipe::print(raw_ostream &O, const Twine &Indent,
 #endif
 
 void VPWidenCanonicalIVRecipe::execute(VPTransformState &State) {
-  Value *CanonicalIV = State.get(getOperand(0), 0);
+  Value *CanonicalIV = State.get(getOperand(0), VPIteration(0, 0));
----------------
fhahn wrote:

Updated, thanks!


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


More information about the llvm-commits mailing list