[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Wed Aug 18 13:04:37 PDT 2004



Changes in directory llvm/lib/Target/SparcV9:

SparcV9AsmPrinter.cpp updated: 1.119 -> 1.120
---
Log message:

Instead of using isDummyPhiInstr, we just compare the opcode with V9::PHI.


---
Diffs of the changes:  (+2 -2)

Index: llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.119 llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.120
--- llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp:1.119	Wed Aug 18 00:29:08 2004
+++ llvm/lib/Target/SparcV9/SparcV9AsmPrinter.cpp	Wed Aug 18 15:04:23 2004
@@ -283,8 +283,8 @@
 void SparcV9AsmPrinter::emitMachineInst(const MachineInstr *MI) {
   unsigned Opcode = MI->getOpcode();
 
-  if (TM.getInstrInfo()->isDummyPhiInstr(Opcode))
-    return;  // IGNORE PHI NODES
+  if (Opcode == V9::PHI)
+    return;  // Ignore Machine-PHI nodes.
 
   O << "\t" << TM.getInstrInfo()->getName(Opcode) << "\t";
 






More information about the llvm-commits mailing list