[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed May 3 18:15:19 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.168 -> 1.169
---
Log message:
Remove a bunch more SparcV9 specific stuff
---
Diffs of the changes: (+1 -8)
PPCAsmPrinter.cpp | 9 +--------
1 files changed, 1 insertion(+), 8 deletions(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.168 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.169
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.168 Wed May 3 19:44:25 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Wed May 3 20:15:02 2006
@@ -86,7 +86,7 @@
void printOperand(const MachineInstr *MI, unsigned OpNo) {
const MachineOperand &MO = MI->getOperand(OpNo);
- if (MO.getType() == MachineOperand::MO_MachineRegister) {
+ if (MO.getType() == MachineOperand::MO_VirtualRegister) {
assert(MRegisterInfo::isPhysicalRegister(MO.getReg())&&"Not physreg??");
O << TM.getRegisterInfo()->get(MO.getReg()).Name;
} else if (MO.isImmediate()) {
@@ -353,13 +353,6 @@
int new_symbol;
switch (MO.getType()) {
- case MachineOperand::MO_VirtualRegister:
- if (Value *V = MO.getVRegValueOrNull()) {
- O << "<" << V->getName() << ">";
- return;
- }
- // FALLTHROUGH
- case MachineOperand::MO_MachineRegister:
O << RI.get(MO.getReg()).Name;
return;
More information about the llvm-commits
mailing list