Commit 7d104885 by Graham Stott Committed by Graham Stott

* loop.c (prescan_loop): Handle PARALLEL.

From-SVN: r50101
parent 8ed805d2
2002-02-27 Graham Stott <grahams@redhat.com>
* loop.c (prescan_loop): Handle PARALLEL.
* unroll.c (loop_iterations): Return 0 if the add_val for
a BIV is REG.
......
......@@ -2504,16 +2504,17 @@ prescan_loop (loop)
if (set)
{
rtx src = SET_SRC (set);
rtx label1, label2;
if (GET_CODE (SET_SRC (set)) == IF_THEN_ELSE)
if (GET_CODE (src) == IF_THEN_ELSE)
{
label1 = XEXP (SET_SRC (set), 1);
label2 = XEXP (SET_SRC (set), 2);
label1 = XEXP (src, 1);
label2 = XEXP (src, 2);
}
else
{
label1 = SET_SRC (PATTERN (insn));
label1 = src;
label2 = NULL_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