Skip to content

Commit 126a1cc

Browse files
committed
nfc, set VPInterleaveBase::clone() as pure
1 parent 209474e commit 126a1cc

File tree

1 file changed

+1
-3
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+1
-3
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2480,9 +2480,7 @@ class LLVM_ABI_FOR_TEST VPInterleaveBase : public VPRecipeBase,
24802480
}
24812481

24822482
public:
2483-
VPInterleaveBase *clone() override {
2484-
llvm_unreachable("cloning not supported");
2485-
}
2483+
VPInterleaveBase *clone() override = 0;
24862484

24872485
static inline bool classof(const VPRecipeBase *R) {
24882486
return R->getVPDefID() == VPRecipeBase::VPInterleaveSC ||

0 commit comments

Comments
 (0)