diff options
author | Benjamin Maxwell <benjamin.maxwell@arm.com> | 2025-10-15 10:57:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-15 10:57:02 +0100 |
commit | 8b93f27cf7e6e53636db870873b53269efa3cca4 (patch) | |
tree | 757f91b8620e77498308c8df540d86b4582acc4e /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | bcf9e917142de4a5c4799b4debe7d11500cee426 (diff) | |
download | llvm-8b93f27cf7e6e53636db870873b53269efa3cca4.zip llvm-8b93f27cf7e6e53636db870873b53269efa3cca4.tar.gz llvm-8b93f27cf7e6e53636db870873b53269efa3cca4.tar.bz2 |
[AArch64][SME] Fixup ABI routine insertion points to avoid clobbering NZCV (#161353)
This updates the `MachineSMEABIPass` to find insertion points for state
changes (i.e., calls to ABI routines), where the NZCV register (status
flags) are not live.
It works by stepping backwards from where the state change is needed
until we find an instruction where NZCV is not live, a previous state
change, or a call sequence. We conservatively don't move into/over
calls, as they may require a different state before the start of the
call sequence.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions