mips.md (div_trap_normal, [...]): Require the dependent insn to be an INSN before looking at its pattern.

* mips.md (div_trap_normal, div_trap_mips16): Require the dependent
        insn to be an INSN before looking at its pattern.

From-SVN: r25517
This commit is contained in:
Jeffrey A Law 1999-03-01 15:44:24 +00:00 committed by Jeff Law
parent 03db53b18c
commit 487f99d2ab
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Mon Mar 1 16:36:18 1999 Jeffrey A Law (law@cygnus.com)
* mips.md (div_trap_normal, div_trap_mips16): Require the dependent
insn to be an INSN before looking at its pattern.
Mon Mar 1 15:03:51 1999 Jim Wilson <wilson@cygnus.com>
* config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs. Fix comments.

View File

@ -2441,6 +2441,7 @@
for (link = LOG_LINKS (insn); link; link = XEXP (link, 1))
if ((int) REG_DEP_ANTI == (int) REG_NOTE_KIND (link)
&& GET_CODE (XEXP (link, 0)) == INSN
&& GET_CODE (PATTERN (XEXP (link, 0))) == TRAP_IF
&& REGNO (operands[1]) == 0)
have_dep_anti = 1;
@ -2485,6 +2486,7 @@
for (link = LOG_LINKS (insn); link; link = XEXP (link, 1))
if ((int) REG_DEP_ANTI == (int) REG_NOTE_KIND (link)
&& GET_CODE (XEXP (link, 0)) == INSN
&& GET_CODE (PATTERN (XEXP (link, 0))) == TRAP_IF
&& REGNO (operands[1]) == 0)
have_dep_anti = 1;