We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df79276 commit aeae366Copy full SHA for aeae366
llvm/lib/Transforms/Vectorize/VPlan.h
@@ -1641,10 +1641,8 @@ class VPVectorPointerRecipe : public VPRecipeWithIRFlags,
1641
class VPHeaderPHIRecipe : public VPSingleDefRecipe {
1642
protected:
1643
VPHeaderPHIRecipe(unsigned char VPDefID, Instruction *UnderlyingInstr,
1644
- VPValue *Start = nullptr, DebugLoc DL = {})
1645
- : VPSingleDefRecipe(VPDefID, ArrayRef<VPValue *>(), UnderlyingInstr, DL) {
1646
- if (Start)
1647
- addOperand(Start);
+ VPValue *Start, DebugLoc DL = {})
+ : VPSingleDefRecipe(VPDefID, ArrayRef<VPValue *>({Start}), UnderlyingInstr, DL) {
1648
}
1649
1650
public:
0 commit comments