Commit afbc98a5 by Jim Wilson

(scan_loop): Add no_labels_between_p call to tests which decide if...

(scan_loop): Add no_labels_between_p call to tests which
decide if an invariant reg can be safely replaced with its SET_SRC.

From-SVN: r6574
parent dd22b925
......@@ -744,6 +744,7 @@ scan_loop (loop_start, end, nregs)
might span a call. */
&& ! modified_between_p (SET_SRC (set), p,
reg_single_usage[regno])
&& no_labels_between_p (p, reg_single_usage[regno])
&& validate_replace_rtx (SET_DEST (set), SET_SRC (set),
reg_single_usage[regno]))
{
......
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