Skip to content

Commit a4aa19e

Browse files
committed
Rename ZExt -> Trunc to reflect that we're casting from i64 -> i32
1 parent 6bb2fe0 commit a4aa19e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,10 +1835,10 @@ static bool simplifyKnownEVL(VPlan &Plan, ElementCount VF,
18351835
continue;
18361836

18371837
VPBuilder Builder(&R);
1838-
VPValue *AVLZExt = Builder.createScalarZExtOrTrunc(
1838+
VPValue *Trunc = Builder.createScalarZExtOrTrunc(
18391839
AVL, Type::getInt32Ty(Plan.getContext()), AVLSCEV->getType(),
18401840
R.getDebugLoc());
1841-
R.getVPSingleValue()->replaceAllUsesWith(AVLZExt);
1841+
R.getVPSingleValue()->replaceAllUsesWith(Trunc);
18421842
return true;
18431843
}
18441844
}

0 commit comments

Comments
 (0)