diff options
author | Oliver Stannard <oliver.stannard@arm.com> | 2024-10-28 10:01:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 09:01:06 +0000 |
commit | dff114b3565e4c981fcb40f24f72a0cb426294fe (patch) | |
tree | f8e7e1ebb3779020e80c15a231485165b348cc02 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | f6b513a7857cbcdb7df93079916e6bb8a00bd0b8 (diff) | |
download | llvm-dff114b3565e4c981fcb40f24f72a0cb426294fe.zip llvm-dff114b3565e4c981fcb40f24f72a0cb426294fe.tar.gz llvm-dff114b3565e4c981fcb40f24f72a0cb426294fe.tar.bz2 |
[ARM] Optimise non-ABI frame pointers (#110286)
With -fomit-frame-pointer, even if we set up a frame pointer for other
reasons (e.g. variable-sized or over-aligned stack allocations), we
don't need to create an ABI-compliant frame record. This means that we
can save all of the general-purpose registers in one push, instead of
splitting it to ensure that the frame pointer and link register are
adjacent on the stack, saving two instructions per function.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions