diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2017-11-08 15:36:34 +0000 |
---|---|---|
committer | Wilco Dijkstra <wilco@gcc.gnu.org> | 2017-11-08 15:36:34 +0000 |
commit | 6216fd904f46a11fa243195ee303560dc802958e (patch) | |
tree | 5042e527d2dd7e17df0bf83129d5005d43d2cc8b /gcc/tree-nested.h | |
parent | 7040939b9e2cbd084e6dbe015ee6cd2761aacf46 (diff) | |
download | gcc-6216fd904f46a11fa243195ee303560dc802958e.zip gcc-6216fd904f46a11fa243195ee303560dc802958e.tar.gz gcc-6216fd904f46a11fa243195ee303560dc802958e.tar.bz2 |
[AArch64] Simplify aarch64_can_eliminate
Simplify aarch64_can_eliminate - if we need a frame pointer, we must
eliminate to HARD_FRAME_POINTER_REGNUM. Rather than hardcoding all
combinations from the ELIMINABLE_REGS list, just do the correct check.
gcc/
* config/aarch64/aarch64.c (aarch64_can_eliminate): Simplify logic.
From-SVN: r254534
Diffstat (limited to 'gcc/tree-nested.h')
0 files changed, 0 insertions, 0 deletions