Commit 7f16eed4 by Richard Henderson Committed by Richard Henderson

* combine.c (try_combine): Handle a SEQUENCE of one insn.

From-SVN: r46177
parent 59bee412
2001-10-10 Richard Henderson <rth@redhat.com>
* combine.c (try_combine): Handle a SEQUENCE of one insn.
2001-10-10 Richard Henderson <rth@redhat.com>
* langhooks.c: Include langhooks.h.
* Makefile.in (langhooks.o): Depend on it.
Wed Oct 10 23:49:06 EDT 2001 John Wehle (john@feith.com)
* rtlanal.c (noop_move_p): Insns with a REG_RETVAL note
......
......@@ -2132,6 +2132,12 @@ try_combine (i3, i2, i1, new_direct_jump_p)
}
}
/* If we've split a jump pattern, we'll wind up with a sequence even
with one instruction. We can handle that below, so extract it. */
if (m_split && GET_CODE (m_split) == SEQUENCE
&& XVECLEN (m_split, 0) == 1)
m_split = PATTERN (XVECEXP (m_split, 0, 0));
if (m_split && GET_CODE (m_split) != SEQUENCE)
{
insn_code_number = recog_for_combine (&m_split, i3, &new_i3_notes);
......
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