Re: [PATCH 7/9] Handle POLY_INT_CSTs in get_nonzero_bits

2024-10-24 Thread Richard Sandiford
Richard Biener writes: > On Fri, 18 Oct 2024, Richard Sandiford wrote: > >> This patch extends get_nonzero_bits to handle POLY_INT_CSTs, >> The easiest (but also most useful) case is that the number >> of trailing zeros in the runtime value is at least the number >> of trailing zeros in each indiv

Re: [PATCH 7/9] Handle POLY_INT_CSTs in get_nonzero_bits

2024-10-18 Thread Richard Biener
On Fri, 18 Oct 2024, Richard Sandiford wrote: > This patch extends get_nonzero_bits to handle POLY_INT_CSTs, > The easiest (but also most useful) case is that the number > of trailing zeros in the runtime value is at least the number > of trailing zeros in each individual component. > > In princi

[PATCH 7/9] Handle POLY_INT_CSTs in get_nonzero_bits

2024-10-18 Thread Richard Sandiford
This patch extends get_nonzero_bits to handle POLY_INT_CSTs, The easiest (but also most useful) case is that the number of trailing zeros in the runtime value is at least the number of trailing zeros in each individual component. In principle, we could do this for coeffs 1 and above only, and then