Commit c5da853f by Michael P. Hayes Committed by Jeff Law

loop.c (check_final_value): Don't miss a biv increment in a parallel.

        * loop.c (check_final_value): Don't miss a biv increment in a
        parallel.

From-SVN: r14947
parent cf7c222f
Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
* loop.c (check_final_value): Don't miss a biv increment in a
parallel.
Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com) Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
......
...@@ -4894,8 +4894,7 @@ check_final_value (v, loop_start, loop_end) ...@@ -4894,8 +4894,7 @@ check_final_value (v, loop_start, loop_end)
break; break;
} }
} }
else if (GET_CODE (PATTERN (p)) == SET else if (reg_set_p (v->src_reg, PATTERN (p)))
&& SET_DEST (PATTERN (p)) == v->src_reg)
biv_increment_seen = 1; biv_increment_seen = 1;
else if (reg_mentioned_p (v->dest_reg, PATTERN (p))) else if (reg_mentioned_p (v->dest_reg, PATTERN (p)))
last_giv_use = p; last_giv_use = p;
......
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