diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Sparc/EmitAssembly.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/EmitAssembly.cpp b/llvm/lib/Target/Sparc/EmitAssembly.cpp index 5f73a8d5fc6..73f87f83d4b 100644 --- a/llvm/lib/Target/Sparc/EmitAssembly.cpp +++ b/llvm/lib/Target/Sparc/EmitAssembly.cpp @@ -440,10 +440,10 @@ SparcFunctionAsmPrinter::emitMachineInst(const MachineInstr *MI) { 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); |