Skip to content

Commit 10cfd54

Browse files
authored
[AArch64] Correct defs and uses on {PAC,AUT}I{A,B}171615 (#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.
1 parent c3aa86c commit 10cfd54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2030,6 +2030,8 @@ let Predicates = [HasPAuthLR] in {
20302030
// opcode2, opcode, asm
20312031
def AUTIASPPCr : SignAuthOneReg<0b00001, 0b100100, "autiasppcr">;
20322032
def AUTIBSPPCr : SignAuthOneReg<0b00001, 0b100101, "autibsppcr">;
2033+
}
2034+
let Defs = [X17], Uses = [X15, X16, X17] in {
20332035
// opcode2, opcode, asm
20342036
def PACIA171615 : SignAuthFixedRegs<0b00001, 0b100010, "pacia171615">;
20352037
def PACIB171615 : SignAuthFixedRegs<0b00001, 0b100011, "pacib171615">;

0 commit comments

Comments
 (0)