diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-09-30 16:20:15 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-09-30 16:20:15 +0000 |
commit | 43b484fbf281553353c6ef55ff0871b222579004 (patch) | |
tree | 09be312850766d7bb5f4c6dfa86e810708db069f /gcc/cse.c | |
parent | 016996861c7333f42772c84a5a2a4e52e0bd07c5 (diff) | |
download | gcc-43b484fbf281553353c6ef55ff0871b222579004.zip gcc-43b484fbf281553353c6ef55ff0871b222579004.tar.gz gcc-43b484fbf281553353c6ef55ff0871b222579004.tar.bz2 |
Remove global call sets: cfgloopanal.c
...or rather, make the use of the default ABI explicit. That seems
OK if not ideal for this heuristic.
In practical terms, the code patched here is counting GENERAL_REGS,
which are treated in the same way by all concurrent ABI variants
on AArch64. It might give bad results if used for interrupt
handlers though.
2019-09-30 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* cfgloopanal.c: Include regs.h and function-abi.h.
(init_set_costs): Use default_function_abi to test whether
a general register is call-clobbered.
From-SVN: r276315
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions