On 11/14/14 12:19, Segher Boessenkool wrote:
If the result of combining some insns is a PARALLEL of two SETs, and that
is not a recognised insn, and one of the SETs is dead, combine tries to
use the remaining SET as insn.

This patch changes things around so that the one SET is preferably used,
not the PARALLEL.


2014-11-14  Segher Boessenkool  <seg...@kernel.crashing.org>

gcc/
        * combine.c (try_combine): Prefer to delete dead SETs inside
        a PARALLEL over keeping them.
OK. Can this go forward independent of the other changes? Seems like it should.

Does it help pr52714 where we'd like to rip apart a PARALLEL with two sets, one of which is dead. If so, it might allow us to optimize that code better. Granted, it originally was an m68k issue, but presumably it's happening eleswhere or you wouldn't be poking at it :-)


jeff

Reply via email to