diff options
author | J"orn Rennecke <amylaar@redhat.com> | 2001-03-03 04:19:50 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2001-03-03 04:19:50 +0000 |
commit | 5dd3e650f5d268e537357dff93c2a90584a0c117 (patch) | |
tree | dade8774d514a96711b8dd7f28718f8c031cc6c4 | |
parent | 31a02448c02a74e9e20dc3f456ad9614253d2909 (diff) | |
download | gcc-5dd3e650f5d268e537357dff93c2a90584a0c117.zip gcc-5dd3e650f5d268e537357dff93c2a90584a0c117.tar.gz gcc-5dd3e650f5d268e537357dff93c2a90584a0c117.tar.bz2 |
combine.c (try_combine): If split with mode-changed scratch register didn't work, try the original mode.
* combine.c (try_combine): If split with mode-changed scratch
register didn't work, try the original mode.
From-SVN: r40201
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/combine.c | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 37f1880..363f217 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Mar 3 04:17:17 2001 J"orn Rennecke <amylaar@redhat.com> + + * combine.c (try_combine): If split with mode-changed scratch + register didn't work, try the original mode. + Sat Mar 3 03:46:47 2001 J"orn Rennecke <amylaar@redhat.com> * tm.texi: Change STRUCT_FORCE_BLK to MEMBER_TYPE_FORCES_BLK. diff --git a/gcc/combine.c b/gcc/combine.c index a3b9640..bf6a1ee 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -2147,6 +2147,15 @@ try_combine (i3, i2, i1, new_direct_jump_p) gen_rtx_CLOBBER (VOIDmode, ni2dest))), i3); + /* If the split with the mode-changed register didn't work, try + the original register. */ + if (! m_split && ni2dest != i2dest) + m_split = split_insns (gen_rtx_PARALLEL + (VOIDmode, + gen_rtvec (2, newpat, + gen_rtx_CLOBBER (VOIDmode, + i2dest))), + i3); } if (m_split && GET_CODE (m_split) != SEQUENCE) |