[llvm-commits] CVS: llvm/lib/Target/Sparc/EmitAssembly.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 29 11:36:08 PST 2002


Changes in directory llvm/lib/Target/Sparc:

EmitAssembly.cpp updated: 1.68 -> 1.69

---
Log message:

(null)

---
Diffs of the changes:

Index: llvm/lib/Target/Sparc/EmitAssembly.cpp
diff -u llvm/lib/Target/Sparc/EmitAssembly.cpp:1.68 llvm/lib/Target/Sparc/EmitAssembly.cpp:1.69
--- llvm/lib/Target/Sparc/EmitAssembly.cpp:1.68	Mon Oct 28 14:01:13 2002
+++ llvm/lib/Target/Sparc/EmitAssembly.cpp	Tue Oct 29 11:35:41 2002
@@ -440,10 +440,10 @@
 {
   unsigned Opcode = MI->getOpCode();
 
-  if (TargetInstrDescriptors[Opcode].iclass & M_DUMMY_PHI_FLAG)
+  if (Target.getInstrInfo().isDummyPhiInstr(Opcode));
     return;  // IGNORE PHI NODES
 
-  toAsm << "\t" << TargetInstrDescriptors[Opcode].opCodeString << "\t";
+  toAsm << "\t" << Target.getInstrInfo().getName(Opcode) << "\t";
 
   unsigned Mask = getOperandMask(Opcode);
   





More information about the llvm-commits mailing list