[RS6000] Fix PR53038, cfa_restore out of order
David Edelsohn
dje.gcc@gmail.com
Tue May 1 02:19:00 GMT 2012
On Thu, Apr 26, 2012 at 1:00 AM, Alan Modra <amodra@gmail.com> wrote:
> PR target/53038
> * config/rs6000/rs6000.c (load_lr_save, restore_saved_lr,
> load_cr_save, add_crlr_cfa_restore): New functions.
> (rs6000_restore_saved_cr): Rename to..
> (restore_saved_cr): ..this. Add cfa_restore notes for cr.
> (rs6000_emit_epilogue): Use new functions. Adjust condition
> for emitting lr and cr cfa_restore. Emit cfa_restores for fp
> regs when using out-of-line restore only when shrink wrapping.
Okay.
Thanks, David
More information about the Gcc-patches
mailing list