gcse.c (compute_ld_motion_mems): Use INSN_P instead of its definition.
* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its definition. (store_killed_in_insn): Likewise. * print-rtl.c (print_rtx): Likewise. * config/frv/frv.c (frv_final_prescan_insn): Likewise. * config/m68hc11/m68hc11.c (dead_register_here): Likewise. (m68hc11_reassign_regs): Likewise. (m68hc11_reorg): Likewise. From-SVN: r68640
This commit is contained in:
parent
2e2d40751c
commit
735e8085f7
@ -1,3 +1,14 @@
|
|||||||
|
2003-06-28 Kazu Hirata <kazu@cs.umass.edu>
|
||||||
|
|
||||||
|
* gcse.c (compute_ld_motion_mems): Use INSN_P instead of its
|
||||||
|
definition.
|
||||||
|
(store_killed_in_insn): Likewise.
|
||||||
|
* print-rtl.c (print_rtx): Likewise.
|
||||||
|
* config/frv/frv.c (frv_final_prescan_insn): Likewise.
|
||||||
|
* config/m68hc11/m68hc11.c (dead_register_here): Likewise.
|
||||||
|
(m68hc11_reassign_regs): Likewise.
|
||||||
|
(m68hc11_reorg): Likewise.
|
||||||
|
|
||||||
2003-06-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
2003-06-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
|
||||||
|
|
||||||
* diagnostic.c (output_integer_with_precision): New macro.
|
* diagnostic.c (output_integer_with_precision): New macro.
|
||||||
|
@ -2326,7 +2326,7 @@ frv_final_prescan_insn (insn, opvec, noperands)
|
|||||||
if (! PACKING_FLAG_USED_P())
|
if (! PACKING_FLAG_USED_P())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
|
if (!INSN_P (insn))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
frv_insn_operands = opvec;
|
frv_insn_operands = opvec;
|
||||||
|
@ -2100,7 +2100,7 @@ dead_register_here (x, reg)
|
|||||||
x_reg = 0;
|
x_reg = 0;
|
||||||
|
|
||||||
for (p = PREV_INSN (x); p && GET_CODE (p) != CODE_LABEL; p = PREV_INSN (p))
|
for (p = PREV_INSN (x); p && GET_CODE (p) != CODE_LABEL; p = PREV_INSN (p))
|
||||||
if (GET_RTX_CLASS (GET_CODE (p)) == 'i')
|
if (INSN_P (p))
|
||||||
{
|
{
|
||||||
rtx body;
|
rtx body;
|
||||||
|
|
||||||
@ -5158,7 +5158,7 @@ m68hc11_reassign_regs (first)
|
|||||||
|| GET_CODE (insn) == NOTE || GET_CODE (insn) == BARRIER)
|
|| GET_CODE (insn) == NOTE || GET_CODE (insn) == BARRIER)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
|
if (!INSN_P (insn))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
body = PATTERN (insn);
|
body = PATTERN (insn);
|
||||||
@ -5287,7 +5287,7 @@ m68hc11_reorg ()
|
|||||||
|
|
||||||
if (INSN_DELETED_P (insn))
|
if (INSN_DELETED_P (insn))
|
||||||
continue;
|
continue;
|
||||||
if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
|
if (!INSN_P (insn))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* Remove the (set (R) (R)) insns generated by some splits. */
|
/* Remove the (set (R) (R)) insns generated by some splits. */
|
||||||
|
@ -6834,7 +6834,7 @@ compute_ld_motion_mems ()
|
|||||||
insn && insn != NEXT_INSN (bb->end);
|
insn && insn != NEXT_INSN (bb->end);
|
||||||
insn = NEXT_INSN (insn))
|
insn = NEXT_INSN (insn))
|
||||||
{
|
{
|
||||||
if (GET_RTX_CLASS (GET_CODE (insn)) == 'i')
|
if (INSN_P (insn))
|
||||||
{
|
{
|
||||||
if (GET_CODE (PATTERN (insn)) == SET)
|
if (GET_CODE (PATTERN (insn)) == SET)
|
||||||
{
|
{
|
||||||
@ -7448,7 +7448,7 @@ store_killed_in_insn (x, x_regs, insn)
|
|||||||
{
|
{
|
||||||
rtx reg, base;
|
rtx reg, base;
|
||||||
|
|
||||||
if (GET_RTX_CLASS (GET_CODE (insn)) != 'i')
|
if (!INSN_P (insn))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (GET_CODE (insn) == CALL_INSN)
|
if (GET_CODE (insn) == CALL_INSN)
|
||||||
|
@ -379,7 +379,7 @@ print_rtx (in_rtx)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'i':
|
case 'i':
|
||||||
if (i == 4 && GET_RTX_CLASS (GET_CODE (in_rtx)) == 'i')
|
if (i == 4 && INSN_P (in_rtx))
|
||||||
{
|
{
|
||||||
#ifndef GENERATOR_FILE
|
#ifndef GENERATOR_FILE
|
||||||
/* Pretty-print insn locators. Ignore scoping as it is mostly
|
/* Pretty-print insn locators. Ignore scoping as it is mostly
|
||||||
|
Loading…
Reference in New Issue
Block a user