Skip to content

Commit 500fe60

Browse files
committed
[VPlan] Drop unnecessary uses of getVPSingleValue (NFC).
1 parent 197f3c0 commit 500fe60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,7 @@ void VPWidenMemoryInstructionRecipe::print(raw_ostream &O, const Twine &Indent,
13521352
O << Indent << "WIDEN ";
13531353

13541354
if (!isStore()) {
1355-
getVPSingleValue()->printAsOperand(O, SlotTracker);
1355+
printAsOperand(O, SlotTracker);
13561356
O << " = ";
13571357
}
13581358
O << Instruction::getOpcodeName(Ingredient.getOpcode()) << " ";
@@ -1375,7 +1375,7 @@ void VPCanonicalIVPHIRecipe::execute(VPTransformState &State) {
13751375
void VPCanonicalIVPHIRecipe::print(raw_ostream &O, const Twine &Indent,
13761376
VPSlotTracker &SlotTracker) const {
13771377
O << Indent << "EMIT ";
1378-
getVPSingleValue()->printAsOperand(O, SlotTracker);
1378+
printAsOperand(O, SlotTracker);
13791379
O << " = CANONICAL-INDUCTION";
13801380
}
13811381
#endif

0 commit comments

Comments
 (0)