(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
This commit is contained in:
Jim Wilson 1994-02-16 12:33:00 -08:00
parent dd22b925ad
commit afbc98a500
1 changed files with 2 additions and 1 deletions

View File

@ -743,7 +743,8 @@ scan_loop (loop_start, end, nregs)
a call-clobbered register and the life of REGNO
might span a call. */
&& ! modified_between_p (SET_SRC (set), p,
reg_single_usage[regno])
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]))
{