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 @@ -1459,12 +1459,8 @@ class VPWidenEVLRecipe : public VPWidenRecipe {
1459
1459
~VPWidenEVLRecipe () override = default ;
1460
1460
1461
1461
VPWidenRecipe *clone () override final {
1462
- SmallVector<VPValue *> Ops (operands ());
1463
- VPValue *EVL = Ops.pop_back_val ();
1464
- auto *R = new VPWidenEVLRecipe (*getUnderlyingInstr (),
1465
- make_range (Ops.begin (), Ops.end ()), *EVL);
1466
- R->transferFlags (*this );
1467
- return R;
1462
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
1463
+ return nullptr ;
1468
1464
}
1469
1465
1470
1466
VP_CLASSOF_IMPL (VPDef::VPWidenEVLSC);
@@ -2616,6 +2612,11 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
2616
2612
setMask (Mask);
2617
2613
}
2618
2614
2615
+ VPWidenLoadEVLRecipe *clone () override {
2616
+ llvm_unreachable (" VPWidenLoadEVLRecipe recipe cannot be cloned" );
2617
+ return nullptr ;
2618
+ }
2619
+
2619
2620
VP_CLASSOF_IMPL (VPDef::VPWidenLoadEVLSC)
2620
2621
2621
2622
// / Return the EVL operand.
@@ -2691,6 +2692,11 @@ struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
2691
2692
setMask (Mask);
2692
2693
}
2693
2694
2695
+ VPWidenStoreEVLRecipe *clone () override {
2696
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
2697
+ return nullptr ;
2698
+ }
2699
+
2694
2700
VP_CLASSOF_IMPL (VPDef::VPWidenStoreEVLSC)
2695
2701
2696
2702
// / Return the address accessed by this recipe.
You can’t perform that action at this time.
0 commit comments