Commit b8abece3 by Revital Eres Committed by Revital Eres

Skip DEBUG_INSN in loop-doloop.c

From-SVN: r173646
parent ce7b3761
2011-05-11 Revital Eres <revital.eres@linaro.org>
* loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn
instead of PREV_INSN.
2011-05-11 Revital Eres <revital.eres@linaro.org>
* modulo-sched.c (sms_schedule): Support new form of doloop pattern
* loop-doloop.c (doloop_condition_get): Likewise.
* config/arm/thumb2.md (*thumb2_addsi3_compare0): Remove "*".
......
......@@ -151,7 +151,7 @@ doloop_condition_get (rtx doloop_pat)
inc = XVECEXP (PATTERN (prev_insn), 0, 1);
}
else
inc = PATTERN (PREV_INSN (doloop_pat));
inc = PATTERN (prev_insn);
/* We expect the condition to be of the form (reg != 0) */
cond = XEXP (SET_SRC (cmp), 0);
if (GET_CODE (cond) != NE || XEXP (cond, 1) != const0_rtx)
......
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