Don't let regrename clobber the link register.

* config/v850/v850.h (EPILOGUE_USES): Define.

From-SVN: r57689
This commit is contained in:
Jim Wilson 2002-10-01 13:48:20 +00:00 committed by Jim Wilson
parent a646f6ccc1
commit bc9ec51b0b
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2002-10-01 Jim Wilson <wilson@redhat.com>
* config/v850/v850.h (EPILOGUE_USES): Define.
2002-09-30 Andrew Haley <aph@redhat.com>
* flow.c (insn_dead_p): When using non-call-exceptions, don't

View File

@ -812,6 +812,12 @@ struct cum_arg { int nbytes; int anonymous_args; };
#define EXIT_IGNORE_STACK 1
/* Define this macro as a C expression that is nonzero for registers
used by the epilogue or the `return' pattern. */
#define EPILOGUE_USES(REGNO) \
(reload_completed && (REGNO) == LINK_POINTER_REGNUM)
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. */