@@ -1304,24 +1304,15 @@ struct VPIRPhi : public VPIRInstruction, public VPPhiAccessors {
1304
1304
class VPWidenRecipe : public VPRecipeWithIRFlags , public VPIRMetadata {
1305
1305
unsigned Opcode;
1306
1306
1307
- protected:
1308
- VPWidenRecipe (unsigned VPDefOpcode, Instruction &I,
1309
- ArrayRef<VPValue *> Operands)
1310
- : VPRecipeWithIRFlags(VPDefOpcode, Operands, I), VPIRMetadata(I),
1311
- Opcode (I.getOpcode()) {}
1312
-
1313
- VPWidenRecipe (unsigned VPDefOpcode, unsigned Opcode,
1314
- ArrayRef<VPValue *> Operands, bool NUW, bool NSW, DebugLoc DL)
1315
- : VPRecipeWithIRFlags(VPDefOpcode, Operands, WrapFlagsTy(NUW, NSW), DL),
1307
+ public:
1308
+ VPWidenRecipe (unsigned Opcode, ArrayRef<VPValue *> Operands,
1309
+ const VPIRFlags &Flags, DebugLoc DL)
1310
+ : VPRecipeWithIRFlags(VPDef::VPWidenSC, Operands, Flags, DL),
1316
1311
Opcode (Opcode) {}
1317
1312
1318
- public:
1319
1313
VPWidenRecipe (Instruction &I, ArrayRef<VPValue *> Operands)
1320
- : VPWidenRecipe(VPDef::VPWidenSC, I, Operands) {}
1321
-
1322
- VPWidenRecipe (unsigned Opcode, ArrayRef<VPValue *> Operands, bool NUW,
1323
- bool NSW, DebugLoc DL)
1324
- : VPWidenRecipe(VPDef::VPWidenSC, Opcode, Operands, NUW, NSW, DL) {}
1314
+ : VPRecipeWithIRFlags(VPDef::VPWidenSC, Operands, I), VPIRMetadata(I),
1315
+ Opcode(I.getOpcode()) {}
1325
1316
1326
1317
~VPWidenRecipe () override = default ;
1327
1318
0 commit comments