Skip to content

Commit 7ee0779

Browse files
committed
nfc, set VPInterleaveBase::clone() as pure
1 parent 6df82f3 commit 7ee0779

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
@@ -2479,9 +2479,7 @@ class LLVM_ABI_FOR_TEST VPInterleaveBase : public VPRecipeBase,
24792479
}
24802480

24812481
public:
2482-
VPInterleaveBase *clone() override {
2483-
llvm_unreachable("cloning not supported");
2484-
}
2482+
VPInterleaveBase *clone() override = 0;
24852483

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

0 commit comments

Comments
 (0)