Commit 94d5c456 by Jeffrey A Law Committed by Jeff Law

unroll.c (copy_loop_body): Always ensure at least two insns are in the copied loop.

        * unroll.c (copy_loop_body): Always ensure at least two insns
        are in the copied loop.

From-SVN: r26261
parent 6ed173d0
Wed Apr 7 14:07:34 1999 Jeffrey A Law (law@cygnus.com)
* unroll.c (copy_loop_body): Always ensure at least two insns
are in the copied loop.
Wed Apr 7 14:52:18 1999 Catherine Moore <clm@cygnus.com>
* config/mips/elf.h (MAKE_DECL_ONE_ONLY): Define.
......
......@@ -1671,6 +1671,12 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration,
start_sequence ();
/* Emit a NOTE_INSN_DELETED to force at least two insns onto the sequence.
Else gen_sequence could return a raw pattern for a jump which we pass
off to emit_insn_before (instead of emit_jump_insn_before) which causes
a variety of losing behaviors later. */
emit_note (0, NOTE_INSN_DELETED);
insn = copy_start;
do
{
......
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