Re: [PATCH] Avoid zext/sext directly from hard registers during expansion (PR rtl-optimization/53942)

2012-07-19 Thread Richard Henderson
On 07/17/2012 02:50 AM, Jakub Jelinek wrote: > 2012-07-17 Jakub Jelinek > > PR rtl-optimization/53942 > * function.c (assign_parm_setup_reg): Avoid zero/sign extension > directly from likely spilled non-fixed hard registers, move them > to pseudo first. > > * gcc.

[PATCH] Avoid zext/sext directly from hard registers during expansion (PR rtl-optimization/53942)

2012-07-17 Thread Jakub Jelinek
Hi! The following testcase ICEs on i?86, because combiner sees a zero extension of the likely spilled cx register generated during expansion and as it is not a simple register move, propagates it into a use many insns later in the function, enlarging thus the lifetime of the hard register and caus