@@ -4424,11 +4424,11 @@ class VPlan {
44244424 // / Create a new loop region with \p Name and entry and exiting blocks set
44254425 // / to \p Entry and \p Exiting respectively, if set. The returned block is
44264426 // / owned by the VPlan and deleted once the VPlan is destroyed.
4427- VPRegionBlock *createLoopRegion (const std::string &Name = " " ,
4427+ VPRegionBlock *createLoopRegion (Type *CanIVTy, DebugLoc DL,
4428+ const std::string &Name = " " ,
44284429 VPBlockBase *Entry = nullptr ,
44294430 VPBlockBase *Exiting = nullptr ) {
4430- auto *VPB = Entry ? new VPRegionBlock (Entry, Exiting, Name)
4431- : new VPRegionBlock (Name);
4431+ auto *VPB = new VPRegionBlock (CanIVTy, DL, Entry, Exiting, Name);
44324432 CreatedBlocks.push_back (VPB);
44334433 return VPB;
44344434 }
@@ -4438,7 +4438,7 @@ class VPlan {
44384438 // / destroyed.
44394439 VPRegionBlock *createReplicateRegion (VPBlockBase *Entry, VPBlockBase *Exiting,
44404440 const std::string &Name = " " ) {
4441- auto *VPB = new VPRegionBlock (Entry, Exiting, Name, true );
4441+ auto *VPB = new VPRegionBlock (Entry, Exiting, Name);
44424442 CreatedBlocks.push_back (VPB);
44434443 return VPB;
44444444 }
0 commit comments