make noop_move_p take a rtx_insn *

gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (noop_move_p): Change argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222943
This commit is contained in:
Trevor Saunders 2015-05-09 04:16:19 +00:00 committed by Trevor Saunders
parent 9b8d3c60b6
commit 8a1b6388da
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (noop_move_p): Change argument type to rtx_insn *.
* rtl.h: Adjust.
2015-05-08 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* rtlanal.c (add_shallow_copy_of_reg_note): Change argument type

View File

@ -2844,7 +2844,7 @@ extern int modified_in_p (const_rtx, const_rtx);
extern int reg_set_p (const_rtx, const_rtx);
extern int multiple_sets (const_rtx);
extern int set_noop_p (const_rtx);
extern int noop_move_p (const_rtx);
extern int noop_move_p (const rtx_insn *);
extern bool refers_to_regno_p (unsigned int, unsigned int, const_rtx, rtx *);
extern int reg_overlap_mentioned_p (const_rtx, const_rtx);
extern const_rtx set_of (const_rtx, const_rtx);

View File

@ -1368,7 +1368,7 @@ set_noop_p (const_rtx set)
value to itself. */
int
noop_move_p (const_rtx insn)
noop_move_p (const rtx_insn *insn)
{
rtx pat = PATTERN (insn);