Skip to content

Commit 577785c

Browse files
committed
[VPlan] Remove unused removeLastOperand (NFC).
The last use of the function has been removed a while ago. Remove the unused function.
1 parent c5b11a7 commit 577785c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/Transforms/Vectorize/VPlanValue.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,6 @@ class VPUser {
261261
New->addUser(*this);
262262
}
263263

264-
void removeLastOperand() {
265-
VPValue *Op = Operands.pop_back_val();
266-
Op->removeUser(*this);
267-
}
268-
269264
typedef SmallVectorImpl<VPValue *>::iterator operand_iterator;
270265
typedef SmallVectorImpl<VPValue *>::const_iterator const_operand_iterator;
271266
typedef iterator_range<operand_iterator> operand_range;

0 commit comments

Comments
 (0)