From a0df5d8da5d4ba1e75fd3c3449ae535b283b8621 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Fri, 26 Aug 2005 22:04:17 +0000 Subject: [PATCH] Remove operand type 'crbit', since it is no longer used git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23106 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCAsmPrinter.cpp | 8 -------- lib/Target/PowerPC/PPCInstrInfo.td | 3 --- 2 files changed, 11 deletions(-) diff --git a/lib/Target/PowerPC/PPCAsmPrinter.cpp b/lib/Target/PowerPC/PPCAsmPrinter.cpp index 10a6dbce728..243ad37cce4 100644 --- a/lib/Target/PowerPC/PPCAsmPrinter.cpp +++ b/lib/Target/PowerPC/PPCAsmPrinter.cpp @@ -160,14 +160,6 @@ namespace { O << ')'; } } - void printcrbit(const MachineInstr *MI, unsigned OpNo, - MVT::ValueType VT) { - unsigned char value = MI->getOperand(OpNo).getImmedValue(); - assert(value <= 3 && "Invalid crbit argument!"); - unsigned CCReg = MI->getOperand(OpNo-1).getReg(); - unsigned RegNo = enumRegToMachineReg(CCReg); - O << 4 * RegNo + value; - } void printcrbitm(const MachineInstr *MI, unsigned OpNo, MVT::ValueType VT) { unsigned CCReg = MI->getOperand(OpNo).getReg(); diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td index 595fd478007..6817ec9c2f8 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.td +++ b/lib/Target/PowerPC/PPCInstrInfo.td @@ -51,9 +51,6 @@ def symbolHi: Operand { def symbolLo: Operand { let PrintMethod = "printSymbolLo"; } -def crbit: Operand { - let PrintMethod = "printcrbit"; -} def crbitm: Operand { let PrintMethod = "printcrbitm"; } -- 2.34.1