Re: [PATCH] simplify-rtx: Split out native_decode_int

2025-04-28 Thread Richard Biener
On Mon, Apr 28, 2025 at 2:38 PM Richard Sandiford wrote: > > native_decode_rtx handles integer modes by building up a wide_int > and then converting it to an rtx. This patch splits out the > wide_int part, so that callers who don't want an rtx can avoid > creating garbage rtl. > > Bootstrapped &

[PATCH] simplify-rtx: Split out native_decode_int

2025-04-28 Thread Richard Sandiford
native_decode_rtx handles integer modes by building up a wide_int and then converting it to an rtx. This patch splits out the wide_int part, so that callers who don't want an rtx can avoid creating garbage rtl. Bootstrapped & regression-tested on aarch64-linux-gnu. OK to install? Richard gcc/