Commit 202a34fd by Doug Evans

(scan_loop): When skipping consecutive insns, don't count notes.

From-SVN: r5682
parent fc155707
...@@ -796,7 +796,7 @@ scan_loop (loop_start, end, nregs) ...@@ -796,7 +796,7 @@ scan_loop (loop_start, end, nregs)
if (m->consec > 0) if (m->consec > 0)
{ {
/* Skip this insn, not checking REG_LIBCALL notes. */ /* Skip this insn, not checking REG_LIBCALL notes. */
p = NEXT_INSN (p); p = next_nonnote_insn (p);
/* Skip the consecutive insns, if there are any. */ /* Skip the consecutive insns, if there are any. */
p = skip_consec_insns (p, m->consec); p = skip_consec_insns (p, m->consec);
/* Back up to the last insn of the consecutive group. */ /* Back up to the last insn of the consecutive group. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment