Skip to content

Commit

Permalink
Set correct printer for PS memory operands
Browse files Browse the repository at this point in the history
  • Loading branch information
Rot127 committed Nov 21, 2024
1 parent 7c6840d commit e6420b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/PowerPC/PPCInstrPairedSingle.td
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def dispRID12 : Operand<iPTR> {
}

def memrid12 : Operand<iPTR> { // Paired Single displacement where imm is 12 bits.
let PrintMethod = "printMemRegImm";
let PrintMethod = "printMemRegImmPS";
let MIOperandInfo = (ops dispRID12:$imm, ptr_rc_nor0:$reg);
let OperandType = "OPERAND_MEMORY";
}
Expand Down

0 comments on commit e6420b2

Please sign in to comment.