[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed May 3 17:44:42 PDT 2006
Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.111 -> 1.112
---
Log message:
Remove some more unused stuff from MachineInstr that was leftover from V9.
---
Diffs of the changes: (+0 -38)
MachineInstr.cpp | 38 --------------------------------------
1 files changed, 38 deletions(-)
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.111 llvm/lib/CodeGen/MachineInstr.cpp:1.112
--- llvm/lib/CodeGen/MachineInstr.cpp:1.111 Sat Apr 22 13:53:45 2006
+++ llvm/lib/CodeGen/MachineInstr.cpp Wed May 3 19:44:25 2006
@@ -199,14 +199,6 @@
if (MO.hasAllocatedReg())
OutputReg(OS, MO.getReg(), MRI);
break;
- case MachineOperand::MO_CCRegister:
- OS << "%ccreg";
- OutputValue(OS, MO.getVRegValue());
- if (MO.hasAllocatedReg()) {
- OS << "==";
- OutputReg(OS, MO.getReg(), MRI);
- }
- break;
case MachineOperand::MO_MachineRegister:
OutputReg(OS, MO.getMachineRegNum(), MRI);
break;
@@ -216,17 +208,6 @@
case MachineOperand::MO_UnextendedImmed:
OS << (long)MO.getImmedValue();
break;
- case MachineOperand::MO_PCRelativeDisp: {
- const Value* opVal = MO.getVRegValue();
- bool isLabel = isa<Function>(opVal) || isa<BasicBlock>(opVal);
- OS << "%disp(" << (isLabel? "label " : "addr-of-val ");
- if (opVal->hasName())
- OS << opVal->getName();
- else
- OS << (const void*) opVal;
- OS << ")";
- break;
- }
case MachineOperand::MO_MachineBasicBlock:
OS << "mbb<"
<< ((Value*)MO.getMachineBasicBlock()->getBasicBlock())->getName()
@@ -341,14 +322,6 @@
OutputValue(OS, MO.getVRegValue());
}
break;
- case MachineOperand::MO_CCRegister:
- OS << "%ccreg";
- OutputValue(OS, MO.getVRegValue());
- if (MO.hasAllocatedReg()) {
- OS << "==";
- OutputReg(OS, MO.getReg());
- }
- break;
case MachineOperand::MO_MachineRegister:
OutputReg(OS, MO.getMachineRegNum());
break;
@@ -358,17 +331,6 @@
case MachineOperand::MO_UnextendedImmed:
OS << (long)MO.getImmedValue();
break;
- case MachineOperand::MO_PCRelativeDisp: {
- const Value* opVal = MO.getVRegValue();
- bool isLabel = isa<Function>(opVal) || isa<BasicBlock>(opVal);
- OS << "%disp(" << (isLabel? "label " : "addr-of-val ");
- if (opVal->hasName())
- OS << opVal->getName();
- else
- OS << (const void*) opVal;
- OS << ")";
- break;
- }
case MachineOperand::MO_MachineBasicBlock:
OS << "<mbb:"
<< ((Value*)MO.getMachineBasicBlock()->getBasicBlock())->getName()
More information about the llvm-commits
mailing list