Re: [PATCH] tailc: Use the IPA-VRP tail call hack even for pointers [PR119614]

2025-04-04 Thread Andrew MacLeod
On 4/4/25 00:57, Jakub Jelinek wrote: Hi! As the first two testcases show, even with pointers IPA-VRP can optimize return values from functions if they have singleton ranges into just the exact value, so we need to virtually undo that for tail calls similarly to integers and floats. The third

Re: [PATCH] tailc: Use the IPA-VRP tail call hack even for pointers [PR119614]

2025-04-04 Thread Richard Biener
On Fri, 4 Apr 2025, Jakub Jelinek wrote: > Hi! > > As the first two testcases show, even with pointers IPA-VRP can optimize > return values from functions if they have singleton ranges into just the > exact value, so we need to virtually undo that for tail calls similarly > to integers and floats