From e6420b28d3b5110c0f8aed41b7f71243dcbfe5e9 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Mon, 18 Nov 2024 13:41:19 -0500 Subject: [PATCH] Set correct printer for PS memory operands --- llvm/lib/Target/PowerPC/PPCInstrPairedSingle.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/PowerPC/PPCInstrPairedSingle.td b/llvm/lib/Target/PowerPC/PPCInstrPairedSingle.td index 3ee892b17851..15795bdb6650 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrPairedSingle.td +++ b/llvm/lib/Target/PowerPC/PPCInstrPairedSingle.td @@ -21,7 +21,7 @@ def dispRID12 : Operand { } def memrid12 : Operand { // 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"; }