* haifa-sched.c (sched_analyze_insn): Fix thinko in last change.

From-SVN: r22022
This commit is contained in:
Jeffrey A Law 1998-08-27 14:15:32 +00:00 committed by Jeff Law
parent ca107dedc7
commit 54c3cf4bb9
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
Thu Aug 27 15:14:18 1998 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
Thu Aug 27 16:34:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (check_dbra_loop): Enable code for reversal

View File

@ -3704,11 +3704,11 @@ sched_analyze_insn (x, insn, loop_notes)
link = loop_notes;
while (XEXP (link, 1))
{
if (XINT (link, 0) == NOTE_INSN_LOOP_BEG
|| XINT (link, 0) == NOTE_INSN_LOOP_END
|| XINT (link, 0) == NOTE_INSN_EH_REGION_BEG
|| XINT (link, 0) == NOTE_INSN_EH_REGION_END
|| XINT (link, 0) == NOTE_INSN_SETJMP)
if (INTVAL (XEXP (link, 0)) == NOTE_INSN_LOOP_BEG
|| INTVAL (XEXP (link, 0)) == NOTE_INSN_LOOP_END
|| INTVAL (XEXP (link, 0)) == NOTE_INSN_EH_REGION_BEG
|| INTVAL (XEXP (link, 0)) == NOTE_INSN_EH_REGION_END
|| INTVAL (XEXP (link, 0)) == NOTE_INSN_SETJMP)
schedule_barrier_found = 1;
link = XEXP (link, 1);