On Mon, Apr 24, 2023 at 11:33 PM Andrew Pinski via Gcc-patches
wrote:
>
> This adds a few patterns from phiopt's minmax_replacement
> for (A CMP B) ? MIN/MAX : MIN/MAX .
> It is progress to remove minmax_replacement from phiopt.
> There are still some more cases dealing with constants on the
> ed
This adds a few patterns from phiopt's minmax_replacement
for (A CMP B) ? MIN/MAX : MIN/MAX .
It is progress to remove minmax_replacement from phiopt.
There are still some more cases dealing with constants on the
edges (0/INT_MAX) to handle in match.
OK? Bootstrapped and tested on x86_64-linux-gn