diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-02-16 12:33:00 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-02-16 12:33:00 -0800 |
commit | afbc98a500847c32c305d9736730ce2c38b181a7 (patch) | |
tree | ec55f2b13af5ffb6c9fb3e50cf0370bc314ecb69 /gcc/loop.c | |
parent | dd22b925ad78dc0192157bb0587f120edac8cea5 (diff) | |
download | gcc-afbc98a500847c32c305d9736730ce2c38b181a7.zip gcc-afbc98a500847c32c305d9736730ce2c38b181a7.tar.gz gcc-afbc98a500847c32c305d9736730ce2c38b181a7.tar.bz2 |
(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
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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])) { |