+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
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)