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 @@ -1399,12 +1399,8 @@ class VPWidenEVLRecipe : public VPWidenRecipe {
1399
1399
~VPWidenEVLRecipe () override = default ;
1400
1400
1401
1401
VPWidenRecipe *clone () override final {
1402
- SmallVector<VPValue *> Ops (operands ());
1403
- VPValue *EVL = Ops.pop_back_val ();
1404
- auto *R = new VPWidenEVLRecipe (*getUnderlyingInstr (),
1405
- make_range (Ops.begin (), Ops.end ()), *EVL);
1406
- R->transferFlags (*this );
1407
- return R;
1402
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
1403
+ return nullptr ;
1408
1404
}
1409
1405
1410
1406
VP_CLASSOF_IMPL (VPDef::VPWidenEVLSC);
@@ -2489,6 +2485,11 @@ struct VPWidenLoadEVLRecipe final : public VPWidenMemoryRecipe, public VPValue {
2489
2485
setMask (Mask);
2490
2486
}
2491
2487
2488
+ VPWidenLoadEVLRecipe *clone () override {
2489
+ llvm_unreachable (" VPWidenLoadEVLRecipe recipe cannot be cloned" );
2490
+ return nullptr ;
2491
+ }
2492
+
2492
2493
VP_CLASSOF_IMPL (VPDef::VPWidenLoadEVLSC)
2493
2494
2494
2495
// / Return the EVL operand.
@@ -2565,6 +2566,11 @@ struct VPWidenStoreEVLRecipe final : public VPWidenMemoryRecipe {
2565
2566
setMask (Mask);
2566
2567
}
2567
2568
2569
+ VPWidenStoreEVLRecipe *clone () override {
2570
+ llvm_unreachable (" VPWidenStoreEVLRecipe cannot be cloned" );
2571
+ return nullptr ;
2572
+ }
2573
+
2568
2574
VP_CLASSOF_IMPL (VPDef::VPWidenStoreEVLSC)
2569
2575
2570
2576
// / Return the address accessed by this recipe.
You can’t perform that action at this time.
0 commit comments