loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit code.
* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit code. From-SVN: r126141
This commit is contained in:
parent
c5274326e0
commit
2ed2257828
|
@ -1,3 +1,8 @@
|
||||||
|
2006-06-30 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
* loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit
|
||||||
|
code.
|
||||||
|
|
||||||
2006-06-30 Thomas Neumann <tneumann@users.sourceforge.net>
|
2006-06-30 Thomas Neumann <tneumann@users.sourceforge.net>
|
||||||
|
|
||||||
* ipa.c (cgraph_postorder): Cast according to the coding conventions.
|
* ipa.c (cgraph_postorder): Cast according to the coding conventions.
|
||||||
|
|
|
@ -1025,6 +1025,7 @@ unroll_loop_runtime_iterations (struct loop *loop)
|
||||||
|
|
||||||
init_code = get_insns ();
|
init_code = get_insns ();
|
||||||
end_sequence ();
|
end_sequence ();
|
||||||
|
unshare_all_rtl_in_chain (init_code);
|
||||||
|
|
||||||
/* Precondition the loop. */
|
/* Precondition the loop. */
|
||||||
split_edge_and_insert (loop_preheader_edge (loop), init_code);
|
split_edge_and_insert (loop_preheader_edge (loop), init_code);
|
||||||
|
|
Loading…
Reference in New Issue