[all-commits] [llvm/llvm-project] 7512ab: [AArch64][PAC] Precommit test case on speculativel...
Anatoly Trosinenko via All-commits
all-commits at lists.llvm.org
Mon Aug 25 14:01:44 PDT 2025
Branch: refs/heads/users/atrosinenko/aut-speculation
Home: https://github.com/llvm/llvm-project
Commit: 7512ab1101bf43a9a91208a5d7565cf048784a74
https://github.com/llvm/llvm-project/commit/7512ab1101bf43a9a91208a5d7565cf048784a74
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign.ll
Log Message:
-----------
[AArch64][PAC] Precommit test case on speculatively exetuting AUTxMxN
Commit: b1ccbc9ab36fcfd02c1fe1c4c1a7ad77879dc77c
https://github.com/llvm/llvm-project/commit/b1ccbc9ab36fcfd02c1fe1c4c1a7ad77879dc77c
Author: Anatoly Trosinenko <atrosinenko at accesssoftek.com>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/ptrauth-intrinsic-auth-resign.ll
Log Message:
-----------
[AArch64][PAC] Do not execute AUT instructions speculatively
A generic authentication instruction may crash the process on failure.
Furthermore, it can be executed conditionally and/or its signing schema
can be chosen dynamically. For this reason, while it may be beneficial
to permit DCE to remove AUTx16x17 or AUTxMxN instructions unless their
results have any uses (at least fake ones, if we just want to check the
signature), AUT instructions are not safe to be executed speculatively.
As a quick fix for miscompilation possibility, this patch marks AUTxMxN
pseudo instruction as having unmodelled side effects.
Compare: https://github.com/llvm/llvm-project/compare/7512ab1101bf%5E...b1ccbc9ab36f
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