mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 01:50:34 +08:00
Skip DEBUG_INSN in loop-doloop.c
From-SVN: r173646
This commit is contained in:
parent
ce7b376154
commit
b8abece3d0
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user