diff --git a/llvm/lib/Target/X86/Printer.cpp b/llvm/lib/Target/X86/Printer.cpp index d75126915423..3c8585345829 100644 --- a/llvm/lib/Target/X86/Printer.cpp +++ b/llvm/lib/Target/X86/Printer.cpp @@ -295,7 +295,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O, const MachineInstrDescriptor &Desc = get(Opcode); // Print instruction prefixes if neccesary - if (Desc.TSFlags & X86II::OpSize) O << "66 "; // Operand size... if (Desc.TSFlags & X86II::TB) O << "0F "; // Two-byte opcode prefix @@ -304,6 +303,7 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O, O << "\t\t\t"; O << "-"; MI->print(O, TM); break; + case X86II::RawFrm: toHex(O, getBaseOpcodeFor(Opcode)); O << "\n\t\t\t\t"; @@ -316,7 +316,6 @@ void X86InstrInfo::print(const MachineInstr *MI, std::ostream &O, O << "\n"; return; - case X86II::AddRegFrm: { // There are currently two forms of acceptable AddRegFrm instructions. // Either the instruction JUST takes a single register (like inc, dec, etc),