[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp PowerPCInstrInfo.td
Nate Begeman
natebegeman at mac.com
Fri Aug 26 15:04:28 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PowerPCAsmPrinter.cpp updated: 1.88 -> 1.89
PowerPCInstrInfo.td updated: 1.83 -> 1.84
---
Log message:
Remove operand type 'crbit', since it is no longer used
---
Diffs of the changes: (+0 -11)
PowerPCAsmPrinter.cpp | 8 --------
PowerPCInstrInfo.td | 3 ---
2 files changed, 11 deletions(-)
Index: llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.88 llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.89
--- llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp:1.88 Mon Aug 22 17:00:02 2005
+++ llvm/lib/Target/PowerPC/PowerPCAsmPrinter.cpp Fri Aug 26 17:04:17 2005
@@ -160,14 +160,6 @@
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();
Index: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.83 llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.84
--- llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.83 Fri Aug 26 16:23:58 2005
+++ llvm/lib/Target/PowerPC/PowerPCInstrInfo.td Fri Aug 26 17:04:17 2005
@@ -51,9 +51,6 @@
def symbolLo: Operand<i32> {
let PrintMethod = "printSymbolLo";
}
-def crbit: Operand<i8> {
- let PrintMethod = "printcrbit";
-}
def crbitm: Operand<i8> {
let PrintMethod = "printcrbitm";
}
More information about the llvm-commits
mailing list