Commit 1ee4af95 by Doug Evans

(eligible_for_epilogue_delay): Move set of `pat'.

From-SVN: r11495
parent c4ce6853
...@@ -1083,8 +1083,6 @@ eligible_for_epilogue_delay (trial, slot) ...@@ -1083,8 +1083,6 @@ eligible_for_epilogue_delay (trial, slot)
if (get_attr_length (trial) != 1) if (get_attr_length (trial) != 1)
return 0; return 0;
pat = PATTERN (trial);
/* If %g0 is live, there are lots of things we can't handle. /* If %g0 is live, there are lots of things we can't handle.
Rather than trying to find them all now, let's punt and only Rather than trying to find them all now, let's punt and only
optimize things as necessary. */ optimize things as necessary. */
...@@ -1101,6 +1099,8 @@ eligible_for_epilogue_delay (trial, slot) ...@@ -1101,6 +1099,8 @@ eligible_for_epilogue_delay (trial, slot)
return 0; return 0;
} }
pat = PATTERN (trial);
/* Otherwise, only operations which can be done in tandem with /* Otherwise, only operations which can be done in tandem with
a `restore' insn can go into the delay slot. */ a `restore' insn can go into the delay slot. */
if (GET_CODE (SET_DEST (pat)) != REG if (GET_CODE (SET_DEST (pat)) != REG
......
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