On Mon, Apr 07, 2025 at 11:43:27AM +0200, Richard Biener wrote: > I do wonder with all these patches whether it would be better to > preserve the LHS on musttail calls instead?
It can't be instead, because without musttail all those tests regress as well (before IPA-VRP they were successfully tail called, now they aren't), it can be perhaps in addition to. Though, I'm really worried what all places just optimize singleton range into just the constant, clearly it isn't just the vrp1/vrp2 passes, but also dom and also something already during the IPA passes. Jakub