[all-commits] [llvm/llvm-project] bb2b95: [Thumb2] Use BXAUT instruction if available (#183056)
walkerkd via All-commits
all-commits at lists.llvm.org
Tue Mar 3 08:38:06 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb2b957c53b0d000d49f83e5cb95bcd8172bf860
https://github.com/llvm/llvm-project/commit/bb2b957c53b0d000d49f83e5cb95bcd8172bf860
Author: walkerkd <keith.walker at arm.com>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
M llvm/lib/Target/ARM/ARMFrameLowering.cpp
M llvm/lib/Target/ARM/ARMInstrThumb2.td
A llvm/test/CodeGen/Thumb2/pacbti-m-bxaut.ll
Log Message:
-----------
[Thumb2] Use BXAUT instruction if available (#183056)
Generated a
bxaut r12, lr, sp
instruction rather than
aut r12, lr, sp
bx lr
The bxaut instruction is available when for thumb2 code with the
armv8.1m-main architecture and PACBTI is enabled
This change introduces a new pseudo instruction ARM::t2BXAUT_RET which
is similar to the existing pseudo instruction ARM::tBX_RET.
---------
Co-authored-by: Copilot <175728472+Copilot at users.noreply.github.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list