Skip to content

Commit cd9e907

Browse files
committed
nfc, replace definedValues() with getVPValue(J)
1 parent fa84b66 commit cd9e907

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3781,7 +3781,6 @@ void VPInterleaveEVLRecipe::execute(VPTransformState &State) {
37813781
// TODO: Also manage existing metadata using VPIRMetadata.
37823782
Group->addMetadata(NewLoad);
37833783

3784-
ArrayRef<VPValue *> VPDefs = definedValues();
37853784
// Scalable vectors cannot use arbitrary shufflevectors (only splats),
37863785
// so must use intrinsics to deinterleave.
37873786
NewLoad = State.Builder.CreateIntrinsic(
@@ -3806,7 +3805,7 @@ void VPInterleaveEVLRecipe::execute(VPTransformState &State) {
38063805
createBitOrPointerCast(State.Builder, StridedVec, OtherVTy, DL);
38073806
}
38083807

3809-
State.set(VPDefs[J], StridedVec);
3808+
State.set(getVPValue(J), StridedVec);
38103809
++J;
38113810
}
38123811
return;

0 commit comments

Comments
 (0)