lra-constraints.c (emit_spill_move): Use smaller mode for mem-mem moves.
authorVladimir Makarov <vmakarov@redhat.com>
Fri, 24 May 2013 15:30:47 +0000 (15:30 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Fri, 24 May 2013 15:30:47 +0000 (15:30 +0000)
commit1ccd4874c93be4a4cad60e0324b27a953a7417ed
tree54fd0ee909dc935aaf58324287473b79b8204cb1
parenta8db59905a61b406c9558ccb91867a60aec56b1b
lra-constraints.c (emit_spill_move): Use smaller mode for mem-mem moves.

2013-05-24  Vladimir Makarov  <vmakarov@redhat.com>

        * lra-constraints.c (emit_spill_move): Use smaller mode for
mem-mem moves.
        (check_and_process_move): Consider mem-reg moves for secondary
too.
        (curr_insn_transform): Don't lose insns emitted before for
secondary memory moves.
(inherit_in_ebb): Mark defined reg.  Add usage only if it is not a
reg set up in the current insn.

From-SVN: r199298
gcc/ChangeLog
gcc/lra-constraints.c