(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:
parent
dd22b925ad
commit
afbc98a500
|
@ -744,6 +744,7 @@ scan_loop (loop_start, end, nregs)
|
||||||
might span a call. */
|
might span a call. */
|
||||||
&& ! modified_between_p (SET_SRC (set), p,
|
&& ! 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),
|
&& validate_replace_rtx (SET_DEST (set), SET_SRC (set),
|
||||||
reg_single_usage[regno]))
|
reg_single_usage[regno]))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue