File tree 1 file changed +12
-6
lines changed
llvm/lib/Transforms/Vectorize 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -1436,12 +1436,8 @@ class VPWidenEVLRecipe : public VPWidenRecipe {
1436
1436
~VPWidenEVLRecipe () override = default ;
1437
1437
1438
1438
VPWidenRecipe *clone () override final {
1439
- SmallVector<VPValue *> Ops (operands ());
1440
- VPValue *EVL = Ops.pop_back_val ();
1441
- auto *R = new VPWidenEVLRecipe (*getUnderlyingInstr (),
1442
- make_range (Ops.begin (), Ops.end ()), *EVL);
1443
- R->transferFlags (*this );
1444
- return R;
1439
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
1440
+ return nullptr ;
1445
1441
}
1446
1442
1447
1443
VP_CLASSOF_IMPL (VPDef::VPWidenEVLSC);
@@ -2526,6 +2522,11 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
2526
2522
setMask (Mask);
2527
2523
}
2528
2524
2525
+ VPWidenLoadEVLRecipe *clone () override {
2526
+ llvm_unreachable (" VPWidenLoadEVLRecipe recipe cannot be cloned" );
2527
+ return nullptr ;
2528
+ }
2529
+
2529
2530
VP_CLASSOF_IMPL (VPDef::VPWidenLoadEVLSC)
2530
2531
2531
2532
// / Return the EVL operand.
@@ -2602,6 +2603,11 @@ struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
2602
2603
setMask (Mask);
2603
2604
}
2604
2605
2606
+ VPWidenStoreEVLRecipe *clone () override {
2607
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
2608
+ return nullptr ;
2609
+ }
2610
+
2605
2611
VP_CLASSOF_IMPL (VPDef::VPWidenStoreEVLSC)
2606
2612
2607
2613
// / Return the address accessed by this recipe.
You can’t perform that action at this time.
0 commit comments