This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SFN+LVU+IEPM v4 1/9] [SFN] adjust RTL insn-walking API


On 11/09/2017 07:34 PM, Alexandre Oliva wrote:
> 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.
OK.  Seems like this ought to go in immediately rather than waiting on
the full kit to be ack'd.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]