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
This commit is contained in:
Nate Begeman 2005-08-26 22:04:17 +00:00
parent 82972705df
commit a0df5d8da5
2 changed files with 0 additions and 11 deletions

View File

@ -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();

View File

@ -51,9 +51,6 @@ def symbolHi: Operand<i32> {
def symbolLo: Operand<i32> {
let PrintMethod = "printSymbolLo";
}
def crbit: Operand<i8> {
let PrintMethod = "printcrbit";
}
def crbitm: Operand<i8> {
let PrintMethod = "printcrbitm";
}