Re: [PATCH] vr-values: Avoid ICEs on large _BitInt cast to floating point [PR112901]

2023-12-08 Thread Richard Biener
On Fri, 8 Dec 2023, Jakub Jelinek wrote: > Hi! > > For casts from integers to floating point, > simplify_float_conversion_using_ranges uses SCALAR_INT_TYPE_MODE > and queries optabs on the optimization it wants to make. > > That doesn't really work for large/huge BITINT_TYPE, those have BLKmode

[PATCH] vr-values: Avoid ICEs on large _BitInt cast to floating point [PR112901]

2023-12-07 Thread Jakub Jelinek
Hi! For casts from integers to floating point, simplify_float_conversion_using_ranges uses SCALAR_INT_TYPE_MODE and queries optabs on the optimization it wants to make. That doesn't really work for large/huge BITINT_TYPE, those have BLKmode which is not scalar int mode. Querying an optab is not