mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
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:
parent
82972705df
commit
a0df5d8da5
@ -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();
|
||||
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user