[llvm] AArch64/GlobalISel: Mark ptrauth pseudo clobbers dead (PR #229701)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 03:30:13 PDT 2026


================
@@ -6971,6 +6976,9 @@ bool AArch64InstructionSelector::selectIntrinsic(MachineInstr &I,
         .addImm(PACKey)
         .addImm(PACConstDiscC)
         .addUse(PACAddrDisc)
+        .setOperandDead(5) // implicit-def $x15
+        .setOperandDead(6) // implicit-def $x16
----------------
arsenm wrote:

No? The operand list from the test is:
`AUTPCPAC 0, 0, 0, [[COPY3]], implicit-def $x17, implicit-def dead $x15, implicit-def dead $x16, implicit-def dead $nzcv, implicit $x15, implicit $x16, implicit $x17`



https://github.com/llvm/llvm-project/pull/229701


More information about the llvm-commits mailing list