Commit 9fdc1dca by Jim Wilson

(find_splittable_givs): recog_memoized failure return is -1 not 0.

From-SVN: r2283
parent 6d7afc4f
......@@ -2578,7 +2578,7 @@ find_splittable_givs (bl, unroll_type, loop_start, loop_end, increment,
emit_insn_before (gen_rtx (SET, VOIDmode, tem,
copy_rtx (v->new_reg)),
loop_start);
if (! recog_memoized (PREV_INSN (loop_start)))
if (recog_memoized (PREV_INSN (loop_start)) < 0)
{
delete_insn (PREV_INSN (loop_start));
emit_iv_add_mult (bl->initial_value, v->mult_val,
......
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