r255564 - in /trunk/gcc: ChangeLog cfgbuild.c c...
aoliva@gcc.gnu.org
aoliva@gcc.gnu.org
Tue Dec 12 02:14:00 GMT 2017
Author: aoliva
Date: Tue Dec 12 02:14:39 2017
New Revision: 255564
URL: https://gcc.gnu.org/viewcvs?rev=255564&root=gcc&view=rev
Log:
[SFN] adjust RTL insn-walking API
This patch removes unused RTL functions, introduces alternate ones for
use in a later SFN patch, and regroups other related functions so that
they appear in a more consistent order.
for gcc/ChangeLog
* emit-rtl.c (next_nondebug_insn, prev_nondebug_insn): Reorder.
(next_nonnote_nondebug_insn, prev_nonnote_nondebug_insn): Reorder.
(next_nonnote_nondebug_insn_bb): New.
(prev_nonnote_nondebug_insn_bb): New.
(prev_nonnote_insn_bb, next_nonnote_insn_bb): Remove.
* rtl.h (prev_nonnote_insn_bb, next_nonnote_insn_bb): Remove decls.
(prev_nonnote_nondebug_insn_bb): Declare.
(next_nonnote_nondebug_insn_bb): Declare.
* cfgbuild.c (find_bb_boundaries): Adjust to skip debug insns.
* cfgrtl.c (get_last_bb_insn): Likewise.
* lra.c (push_insns): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgbuild.c
trunk/gcc/cfgrtl.c
trunk/gcc/emit-rtl.c
trunk/gcc/lra.c
trunk/gcc/rtl.h
More information about the Gcc-cvs
mailing list