[all-commits] [llvm/llvm-project] 37dc9f: [AArch64][PAC] Rework the expansion of AUT/AUTPAC ...
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Thu Dec 4 09:52:50 PST 2025
Branch: refs/heads/users/atrosinenko/pauth-refactor-autpac
Home: https://github.com/llvm/llvm-project
Commit: 37dc9f869840fde61224fe8d0d687bc76984216d
https://github.com/llvm/llvm-project/commit/37dc9f869840fde61224fe8d0d687bc76984216d
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2025-12-04 (Thu, 04 Dec 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign-with-blend.ll
Log Message:
-----------
[AArch64][PAC] Rework the expansion of AUT/AUTPAC pseudos
Refactor `AArch64AsmPrinter::emitPtrauthAuthResign` to improve
readability and fix the conditions of `emitPtrauthDiscriminator` being
allowed to clobber AddrDisc:
* do not clobber `AUTAddrDisc` when computing `AUTDiscReg` on resigning
if `AUTAddrDisc == PACAddrDisc`, as it would prevent passing raw,
64-bit value as the new discriminator
* mark the `$Scratch` operand of `AUTxMxN` as early-clobber (fixes
assertions when emitting code at `-O0`)
* move the code computing `ShouldCheck` and `ShouldTrap` conditions to a
separate function
* define helper `struct PtrAuthSchema` to pass arguments to
`emitPtrauthAuthResign` in a better structured way
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