@@ -1304,24 +1304,15 @@ struct VPIRPhi : public VPIRInstruction, public VPPhiAccessors {
13041304class VPWidenRecipe : public VPRecipeWithIRFlags , public VPIRMetadata {
13051305 unsigned Opcode;
13061306
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),
13161311 Opcode (Opcode) {}
13171312
1318- public:
13191313 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()) {}
13251316
13261317 ~VPWidenRecipe () override = default ;
13271318
0 commit comments