On Fri, 13 Mar 2026, Philipp Tomsich wrote:

> Add a new SSA pass (pass_widen_accum) that widens narrow integer
> loop accumulators (e.g. short, char) to int-width, eliminating
> per-iteration sign-/zero-extension truncations.

I see you really mean int-width, like
 tree wide_type = unsigned_type_node

So, those sign-/zero-extension truncations will still typically 
happen for LP64-targets, where "int" is 32 bits and registers 
are 64 bits.  So, shouldn't that "int-width" better be 
"register-width", typically (u)intptr_t?

brgds, H-P

Reply via email to