This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r235660 - in /trunk/gcc: ChangeLog ira.c
- From: amodra at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 29 Apr 2016 23:59:23 -0000
- Subject: r235660 - in /trunk/gcc: ChangeLog ira.c
Author: amodra
Date: Fri Apr 29 23:59:22 2016
New Revision: 235660
URL: https://gcc.gnu.org/viewcvs?rev=235660&root=gcc&view=rev
Log:
ira.c use DF infrastructure for combine_and_move_insns
This patch actually improves generated code, because REG_DEAD notes
used by the old insn scan are not always present. On x86_64, see
gcc/wide-int-print.o:print_hex for an example of a function that is
smaller and uses one less callee saved reg.
* ira.c (combine_and_move_insns): Rather than scanning insns,
use DF infrastucture to find use and def insns.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ira.c