[llvm] [AArch64] Correct defs and uses on {PAC, AUT}I{A, B}171615 (PR #123354)
Kristof Beyls via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 17 07:21:31 PST 2025
https://github.com/kbeyls created https://github.com/llvm/llvm-project/pull/123354
I'm not adding tests for this, as I don't think we usually have tests to verify correct description of defs and uses in instructions?
This fix will be tested when #122304 lands, as one of the regression tests in that PR fails without this fix.
>From 2b8ed307f0611fe882150d645f209e3aaea75233 Mon Sep 17 00:00:00 2001
From: Kristof Beyls <kristof.beyls at arm.com>
Date: Fri, 17 Jan 2025 16:14:19 +0100
Subject: [PATCH] [AArch64] Correct defs and uses on {PAC,AUT}I{A,B}171615
I'm not adding tests for this, as I don't think we usually have tests to verify
correct description of defs and uses in instructions?
This fix will be tested when #122304 lands, as one of the regression tests in
that PR fails without this fix.
---
llvm/lib/Target/AArch64/AArch64InstrInfo.td | 2 ++
1 file changed, 2 insertions(+)
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.td b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
index 8215f3a4fdae1e..40a6b8e4c8e640 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.td
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.td
@@ -2030,6 +2030,8 @@ let Predicates = [HasPAuthLR] in {
// opcode2, opcode, asm
def AUTIASPPCr : SignAuthOneReg<0b00001, 0b100100, "autiasppcr">;
def AUTIBSPPCr : SignAuthOneReg<0b00001, 0b100101, "autibsppcr">;
+ }
+ let Defs = [X17], Uses = [X15, X16, X17] in {
// opcode2, opcode, asm
def PACIA171615 : SignAuthFixedRegs<0b00001, 0b100010, "pacia171615">;
def PACIB171615 : SignAuthFixedRegs<0b00001, 0b100011, "pacib171615">;
More information about the llvm-commits
mailing list