Re: [PATCH] vec-lowering: Fix ABSU lowering [PR111285]

2024-10-28 Thread Richard Biener
On Mon, Oct 28, 2024 at 12:41 AM Andrew Pinski wrote: > > ABSU_EXPR lowering incorrectly used the resulting type > for the new expression but in the case of ABSU the resulting > type is an unsigned type and with ABSU is folded away. The fix > is to use a signed type for the expression instead. > >

[PATCH] vec-lowering: Fix ABSU lowering [PR111285]

2024-10-27 Thread Andrew Pinski
ABSU_EXPR lowering incorrectly used the resulting type for the new expression but in the case of ABSU the resulting type is an unsigned type and with ABSU is folded away. The fix is to use a signed type for the expression instead. Bootstrapped and tested on x86_64-linux-gnu. PR middle-end