>   The cprop_hardreg pass does not consider REG_DEAD notes when
>   propagating, and this causes issues if target specific code uses
>   dead_or_set_regno_p to know if it can clobber registers.

As explained in the audit trail, it doesn't have to.

>   Killing regs that are marked REG_DEAD fixes the immediate problem.
>   Is that the right approach? What do you guys think?

Nope, consumers of REG_DEAD notes must instead explicitly ask the DF framework 
to recompute them.

-- 
Eric Botcazou

Reply via email to