Re: [PATCH] middle-end: Small __builtin_clear_padding improvements

2022-02-11 Thread Richard Biener via Gcc-patches
On Fri, 11 Feb 2022, Jakub Jelinek wrote: > Hi! > > When looking at __builtin_clear_padding today, I've noticed that > it is quite wasteful to extend the original user one argument to 3, > 2 is enough. We need to encode the original type of the first argument > because pointer conversions are us

[PATCH] middle-end: Small __builtin_clear_padding improvements

2022-02-11 Thread Jakub Jelinek via Gcc-patches
Hi! When looking at __builtin_clear_padding today, I've noticed that it is quite wasteful to extend the original user one argument to 3, 2 is enough. We need to encode the original type of the first argument because pointer conversions are useless in GIMPLE, and we need to record a boolean whethe