[llvm] c3cce7c - [VPlan] Remove unused VPUser constructors (NFC).
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Sat May 31 04:21:07 PDT 2025
Author: Florian Hahn
Date: 2025-05-31T12:20:32+01:00
New Revision: c3cce7caf8ef5510af5419dc1c2c06378dc51f77
URL: https://github.com/llvm/llvm-project/commit/c3cce7caf8ef5510af5419dc1c2c06378dc51f77
DIFF: https://github.com/llvm/llvm-project/commit/c3cce7caf8ef5510af5419dc1c2c06378dc51f77.diff
LOG: [VPlan] Remove unused VPUser constructors (NFC).
Now all users construct VPUsers using VPUser(ArraryRef<VPValue *>).
Remove the other unused constructors.
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 6cc792627f60d..01e8bf78ef04c 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanValue.h
+++ b/llvm/lib/Transforms/Vectorize/VPlanValue.h
@@ -212,14 +212,6 @@ class VPUser {
addOperand(Operand);
}
- VPUser(std::initializer_list<VPValue *> Operands)
- : VPUser(ArrayRef<VPValue *>(Operands)) {}
-
- template <typename IterT> VPUser(iterator_range<IterT> Operands) {
- for (VPValue *Operand : Operands)
- addOperand(Operand);
- }
-
public:
VPUser() = delete;
VPUser(const VPUser &) = delete;
More information about the llvm-commits
mailing list