ConnectProlog adds new incoming values to exit phi nodes which can change the SCEV for the phi after 20d798bd. Fix is analog to cfc741bc. Fixes #56286.