Skip to content

Commit a758e1a

Browse files
fhahngithub-actions[bot]
authored andcommitted
Automerge: [VPlan] Remove unused VPUser constructors (NFC).
Now all users construct VPUsers using VPUser(ArraryRef<VPValue *>). Remove the other unused constructors.
2 parents 15c33c8 + c3cce7c commit a758e1a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/Transforms/Vectorize/VPlanValue.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,6 @@ class VPUser {
212212
addOperand(Operand);
213213
}
214214

215-
VPUser(std::initializer_list<VPValue *> Operands)
216-
: VPUser(ArrayRef<VPValue *>(Operands)) {}
217-
218-
template <typename IterT> VPUser(iterator_range<IterT> Operands) {
219-
for (VPValue *Operand : Operands)
220-
addOperand(Operand);
221-
}
222-
223215
public:
224216
VPUser() = delete;
225217
VPUser(const VPUser &) = delete;

0 commit comments

Comments
 (0)