Commit 3ac3da71 by Michael Meissner

Reorder tests in last change for speed

From-SVN: r20513
parent ddc8bed2
......@@ -560,11 +560,12 @@ copy_src_to_dest (insn, src, dest, loop_depth)
parameter when there is no frame pointer that is not allocated a register.
For now, we just reject them, rather than incrementing the live length. */
if (GET_CODE (src) == REG && GET_CODE (dest) == REG
if (GET_CODE (src) == REG
&& REG_LIVE_LENGTH (REGNO (src)) > 0
&& GET_CODE (dest) == REG
&& REG_LIVE_LENGTH (REGNO (dest)) > 0
&& (set = single_set (insn)) != NULL_RTX
&& !reg_mentioned_p (dest, SET_SRC (set))
&& REG_LIVE_LENGTH (REGNO (dest)) > 0
&& REG_LIVE_LENGTH (REGNO (src)) > 0
&& validate_replace_rtx (src, dest, insn))
{
/* Generate the src->dest move. */
......
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