From 8e51eac0149bdc641a31ff8f202d2adc625220af Mon Sep 17 00:00:00 2001 From: aldyh Date: Wed, 28 Jul 2004 21:16:18 +0000 Subject: [PATCH] * config/frv/frv.h (EPILOGUE_USES): New. Use LR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85271 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/frv/frv.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e3f1b817c7..0f8b36e5c2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-07-28 Richard Sandiford + + * config/frv/frv.h (EPILOGUE_USES): New. Use LR. + 2004-07-28 Richard Sandiford * cse.c (validate_canon_reg): New function, split out from... diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h index 838ca176114..b31facf7147 100644 --- a/gcc/config/frv/frv.h +++ b/gcc/config/frv/frv.h @@ -959,6 +959,8 @@ extern int target_flags; #define EH_RETURN_STACKADJ_RTX gen_rtx_REG (SImode, STACKADJ_REGNO) #define EH_RETURN_HANDLER_RTX RETURN_ADDR_RTX (0, frame_pointer_rtx) +#define EPILOGUE_USES(REGNO) ((REGNO) == LR_REGNO) + /* An initializer that says which registers are used for fixed purposes all throughout the compiled code and are therefore not available for general allocation. These would include the stack pointer, the frame pointer -- 2.11.4.GIT