diff options
author | Steve Ellcey <sellcey@marvell.com> | 2019-01-11 15:53:02 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2019-01-11 15:53:02 +0000 |
commit | b3650d40fab1ed168be0109372ec49fcff95a18b (patch) | |
tree | 67291192b8cc5e5873f3b1e1d0896cd30b753ad0 /gcc/final.c | |
parent | 17a73b3c47f58155350af2e1ca359e915ffedcae (diff) | |
download | gcc-b3650d40fab1ed168be0109372ec49fcff95a18b.zip gcc-b3650d40fab1ed168be0109372ec49fcff95a18b.tar.gz gcc-b3650d40fab1ed168be0109372ec49fcff95a18b.tar.bz2 |
aarch64.c (aarch64_simd_call_p): New function.
2019-01-11 Steve Ellcey <sellcey@marvell.com>
* config/aarch64/aarch64.c (aarch64_simd_call_p): New function.
(aarch64_remove_extra_call_preserved_regs): New function.
(TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS): New macro.
* doc/tm.texi.in (TARGET_REMOVE_EXTRA_CALL_PRESERVED_REGS): New hook.
* doc/tm.texi: Regenerate.
* final.c (get_call_reg_set_usage): Call new hook.
* target.def (remove_extra_call_preserved_regs): New hook.
* targhooks.c (default_remove_extra_call_preserved_regs): New function.
* targhooks.h (default_remove_extra_call_preserved_regs): New function.
From-SVN: r267846
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index 6dc1cd1..f6edd6a 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -5095,7 +5095,7 @@ get_call_reg_set_usage (rtx_insn *insn, HARD_REG_SET *reg_set, return true; } } - COPY_HARD_REG_SET (*reg_set, default_set); + targetm.remove_extra_call_preserved_regs (insn, reg_set); return false; } |