File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
llvm/lib/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -1457,12 +1457,8 @@ class VPWidenEVLRecipe : public VPWidenRecipe {
1457
1457
~VPWidenEVLRecipe () override = default ;
1458
1458
1459
1459
VPWidenRecipe *clone () override final {
1460
- SmallVector<VPValue *> Ops (operands ());
1461
- VPValue *EVL = Ops.pop_back_val ();
1462
- auto *R = new VPWidenEVLRecipe (*getUnderlyingInstr (),
1463
- make_range (Ops.begin (), Ops.end ()), *EVL);
1464
- R->transferFlags (*this );
1465
- return R;
1460
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
1461
+ return nullptr ;
1466
1462
}
1467
1463
1468
1464
VP_CLASSOF_IMPL (VPDef::VPWidenEVLSC);
@@ -2614,6 +2610,11 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
2614
2610
setMask (Mask);
2615
2611
}
2616
2612
2613
+ VPWidenLoadEVLRecipe *clone () override {
2614
+ llvm_unreachable (" VPWidenLoadEVLRecipe recipe cannot be cloned" );
2615
+ return nullptr ;
2616
+ }
2617
+
2617
2618
VP_CLASSOF_IMPL (VPDef::VPWidenLoadEVLSC)
2618
2619
2619
2620
// / Return the EVL operand.
@@ -2690,6 +2691,11 @@ struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
2690
2691
setMask (Mask);
2691
2692
}
2692
2693
2694
+ VPWidenStoreEVLRecipe *clone () override {
2695
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
2696
+ return nullptr ;
2697
+ }
2698
+
2693
2699
VP_CLASSOF_IMPL (VPDef::VPWidenStoreEVLSC)
2694
2700
2695
2701
// / Return the address accessed by this recipe.
You can’t perform that action at this time.
0 commit comments