diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-09-30 16:20:19 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-09-30 16:20:19 +0000 |
commit | 212b7076eec027d212e1badb9cb5a9db4b62ab50 (patch) | |
tree | 438802bf43b290eac420cfb6f0571e80e3e40f75 /gcc/cse.c | |
parent | 43b484fbf281553353c6ef55ff0871b222579004 (diff) | |
download | gcc-212b7076eec027d212e1badb9cb5a9db4b62ab50.zip gcc-212b7076eec027d212e1badb9cb5a9db4b62ab50.tar.gz gcc-212b7076eec027d212e1badb9cb5a9db4b62ab50.tar.bz2 |
Remove global call sets: combine.c
There shouldn't be many cases in which a useful hard register is
live across a call before RA, so we might as well keep things simple
and invalidate partially-clobbered registers here, in case the values
they hold leak into the call-clobbered part. In principle this is
a bug fix for TARGET_HARD_REGNO_CALL_PART_CLOBBERED targets,
but in practice it probably doesn't make a difference.
2019-09-30 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* combine.c: Include function-abi.h.
(record_dead_and_set_regs): Use insn_callee_abi to get the ABI
of the target of call insns. Invalidate partially-clobbered
registers as well as fully-clobbered ones.
From-SVN: r276316
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions