Re: [PATCH v4 2/9] expand: Reduce unneeded _BitInt extensions

2025-07-30 Thread Jakub Jelinek
On Fri, Jul 25, 2025 at 10:53:35AM +0800, Yang Yujie wrote: > For targets that set the "extended" flag in TARGET_C_BITINT_TYPE_INFO, > we assume small _BitInts to be internally extended after arithmetic > operations. In this case, an extra extension during RTL expansion > can be avoided. > > gcc/C

[PATCH v4 2/9] expand: Reduce unneeded _BitInt extensions

2025-07-24 Thread Yang Yujie
For targets that set the "extended" flag in TARGET_C_BITINT_TYPE_INFO, we assume small _BitInts to be internally extended after arithmetic operations. In this case, an extra extension during RTL expansion can be avoided. gcc/ChangeLog: * expr.cc (expand_expr_real_1): Do not call r