================ @@ -3589,6 +3574,8 @@ class VPlan { TripCount = NewTripCount; } + void setTripCount(VPValue *NewTripCount) { TripCount = NewTripCount; } ---------------- fhahn wrote: Done, thanks https://github.com/llvm/llvm-project/pull/128419