[PATCH 2/4] The TARGET_CAN_FOLLOW_JUMP hook takes insns

Jeff Law law@redhat.com
Fri Sep 12 21:02:00 GMT 2014


On 09/12/14 14:38, David Malcolm wrote:
> gcc/ChangeLog:
> 	* config/arc/arc.c (arc_can_follow_jump): Strengthen both params
> 	from const_rtx to const rtx_insn *.  Update union members from rtx
> 	to rtx_insn *.
> 	* doc/tm.texi (TARGET_CAN_FOLLOW_JUMP): Autogenerated change.
> 	* hooks.c (hook_bool_const_rtx_const_rtx_true): Rename to...
> 	(hook_bool_const_rtx_insn_const_rtx_insn_true): ...this, and
> 	strengthen both params from const_rtx to const rtx_insn *.
> 	* hooks.h (hook_bool_const_rtx_const_rtx_true): Likewise.
> 	(hook_bool_const_rtx_insn_const_rtx_insn_true): Likewise.
> 	* reorg.c (follow_jumps): Strengthen param "jump" from rtx to
> 	rtx_insn *.
> 	* target.def (can_follow_jump): Strengthen both params from
> 	const_rtx to const rtx_insn *, and update default implementation
> 	from hook_bool_const_rtx_const_rtx_true to
> 	hook_bool_const_rtx_insn_const_rtx_insn_true.
OK.
Jeff



More information about the Gcc-patches mailing list