Skip to content

Commit

Permalink
[AArch64] Correct defs and uses on {PAC,AUT}I{A,B}171615 (#123354)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kbeyls authored Jan 18, 2025
1 parent c3aa86c commit 10cfd54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Target/AArch64/AArch64InstrInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -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">;
Expand Down

0 comments on commit 10cfd54

Please sign in to comment.