rs6000.c (rs6000_stack_info): Don't force saving of the link register if one altivec...
authorAndrew Pinski <andrew_pinski@playstation.sony.com>
Sat, 29 Mar 2008 21:37:11 +0000 (21:37 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sat, 29 Mar 2008 21:37:11 +0000 (14:37 -0700)
2008-03-29  Andrew Pinski  <andrew_pinski@playstation.sony.com>

        * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of
        the link register if one altivec register is be saved.

From-SVN: r133720

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 3a21684794c25eb1d16cf38a0126f7a8f7aa4a61..94725d93bcc7a186b3bfe854b2f6d5b643c795a3 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-29  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of
+       the link register if one altivec register is be saved.
+
 2008-03-30  Ben Elliston  <bje@au.ibm.com>
 
        * final.c (final_scan_insn): Remove if (0) code.
index a79970939876f373b831af4effcead099a934b3b..c8ebd7fb8a47732d36a0fe44644ae1e7a9a8ec36 100644 (file)
@@ -14450,7 +14450,6 @@ rs6000_stack_info (void)
 #endif
       || (info_ptr->first_fp_reg_save != 64
          && !FP_SAVE_INLINE (info_ptr->first_fp_reg_save))
-      || info_ptr->first_altivec_reg_save <= LAST_ALTIVEC_REGNO
       || (DEFAULT_ABI == ABI_V4 && current_function_calls_alloca)
       || info_ptr->calls_p
       || rs6000_ra_ever_killed ())