diff options
author | Radovan Obradovic <robradovic@mips.com> | 2014-04-24 09:34:15 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2014-04-24 09:34:15 +0000 |
commit | 4f660b159f4a050bc631930d20643d5533541d46 (patch) | |
tree | 12104592791a836124a5fa50178055b2071db3fd /gcc/combine.c | |
parent | d996e61aaabdcd98f1a24adf5d7c19d3e76f48e0 (diff) | |
download | gcc-4f660b159f4a050bc631930d20643d5533541d46.zip gcc-4f660b159f4a050bc631930d20643d5533541d46.tar.gz gcc-4f660b159f4a050bc631930d20643d5533541d46.tar.bz2 |
-fuse-caller-save - Add new reg-note REG_CALL_DECL
2014-04-24 Radovan Obradovic <robradovic@mips.com>
Tom de Vries <tom@codesourcery.com>
* reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL.
* calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL
reg-note.
* combine.c (distribute_notes): Handle REG_CALL_DECL reg-note.
* emit-rtl.c (try_split): Same.
Co-Authored-By: Tom de Vries <tom@codesourcery.com>
From-SVN: r209744
Diffstat (limited to 'gcc/combine.c')
-rw-r--r-- | gcc/combine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/combine.c b/gcc/combine.c index 9a78c06..e051f5e 100644 --- a/gcc/combine.c +++ b/gcc/combine.c @@ -13269,6 +13269,7 @@ distribute_notes (rtx notes, rtx from_insn, rtx i3, rtx i2, rtx elim_i2, case REG_NORETURN: case REG_SETJMP: case REG_TM: + case REG_CALL_DECL: /* These notes must remain with the call. It should not be possible for both I2 and I3 to be a call. */ if (CALL_P (i3)) |