[all-commits] [llvm/llvm-project] 911f03: [AArch64][PAC] Rework the expansion of AUT/AUTPAC ...
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Thu Apr 16 08:44:31 PDT 2026
Branch: refs/heads/users/atrosinenko/pauth-refactor-autpac
Home: https://github.com/llvm/llvm-project
Commit: 911f03ea494b97857ee9f4faa95d9515016cbeee
https://github.com/llvm/llvm-project/commit/911f03ea494b97857ee9f4faa95d9515016cbeee
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
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 when `emitPtrauthDiscriminator` is
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
* move the code computing `ShouldCheck` and `ShouldTrap` conditions to a
separate function
Commit: 4ee68c9255a573976965be6d61475e7b49f68d1a
https://github.com/llvm/llvm-project/commit/4ee68c9255a573976965be6d61475e7b49f68d1a
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
Log Message:
-----------
Improve readability
Compare: https://github.com/llvm/llvm-project/compare/0320c7b7ff38...4ee68c9255a5
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