From ca514b860f581c1f80fb74db19cebe31a902ab61 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Thu, 14 Sep 2023 12:55:20 -0500 Subject: [PATCH] Set crbit type to Register (since it is treaded like this in the printer). --- llvm/lib/Target/PowerPC/PPCRegisterInfo.td | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/PowerPC/PPCRegisterInfo.td b/llvm/lib/Target/PowerPC/PPCRegisterInfo.td index 414da6231baf..0f4a0d271cd8 100644 --- a/llvm/lib/Target/PowerPC/PPCRegisterInfo.td +++ b/llvm/lib/Target/PowerPC/PPCRegisterInfo.td @@ -785,6 +785,7 @@ def crbitm: Operand { let EncoderMethod = "get_crbitm_encoding"; let DecoderMethod = "decodeCRBitMOperand"; let ParserMatchClass = PPCCRBitMaskOperand; + let OperandType = "OPERAND_REGISTER"; } // Address operands // A version of ptr_rc which excludes R0 (or X0 in 64-bit mode).