> 2016-10-27 Jakub Jelinek
>
> PR rtl-optimization/78132
> * ree.c (combine_reaching_defs): Give up if copy_needed and
> !HARD_REGNO_MODE_OK (REGNO (src_reg), dst_mode).
>
> * gcc.target/i386/pr78132.c: New test.
OK, thanks.
--
Eric Botcazou
Hi!
REE breaks the following testcase on KNL, where we only accept
QImode/HImode in k0-k7 registers (SImode/DImode is only supported
with -mavx512bw). We have
(set (reg:HI k0) (mem:HI ...))
...
(set (reg:DI rax) (zero_extend:DI (reg:HI k0)))
and we optimize it into:
(set (reg:DI rax) (zero_extend