[llvm] 577785c - [VPlan] Remove unused removeLastOperand (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat May 18 10:43:36 PDT 2024
Author: Florian Hahn
Date: 2024-05-18T18:43:20+01:00
New Revision: 577785c5ca78a9714584b5c99ec085f8aea0a5c0
URL: https://github.com/llvm/llvm-project/commit/577785c5ca78a9714584b5c99ec085f8aea0a5c0
DIFF: https://github.com/llvm/llvm-project/commit/577785c5ca78a9714584b5c99ec085f8aea0a5c0.diff
LOG: [VPlan] Remove unused removeLastOperand (NFC).
The last use of the function has been removed a while ago. Remove the
unused function.
Added:
Modified:
llvm/lib/Transforms/Vectorize/VPlanValue.h
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Vectorize/VPlanValue.h b/llvm/lib/Transforms/Vectorize/VPlanValue.h
index 96d04271850f7..8d945f6f2b8ea 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanValue.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanValue.h
@@ -261,11 +261,6 @@ class VPUser {
New->addUser(*this);
}
- void removeLastOperand() {
- VPValue *Op = Operands.pop_back_val();
- Op->removeUser(*this);
- }
-
typedef SmallVectorImpl<VPValue *>::iterator operand_iterator;
typedef SmallVectorImpl<VPValue *>::const_iterator const_operand_iterator;
typedef iterator_range<operand_iterator> operand_range;
More information about the llvm-commits
mailing list