[llvm] r191732 - Remove 0 as a valid encoding for the m-mmmm field.
Craig Topper
craig.topper at gmail.com
Tue Oct 1 00:10:28 PDT 2013
Author: ctopper
Date: Tue Oct 1 02:10:28 2013
New Revision: 191732
URL: http://llvm.org/viewvc/llvm-project?rev=191732&view=rev
Log:
Remove 0 as a valid encoding for the m-mmmm field.
Modified:
llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
Modified: llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c?rev=191732&r1=191731&r2=191732&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c (original)
+++ llvm/trunk/lib/Target/X86/Disassembler/X86DisassemblerDecoder.c Tue Oct 1 02:10:28 2013
@@ -589,8 +589,6 @@ static int readOpcode(struct InternalIns
default:
dbgprintf(insn, "Unhandled m-mmmm field for instruction (0x%hhx)", mmmmmFromVEX2of3(insn->vexPrefix[1]));
return -1;
- case 0:
- break;
case VEX_LOB_0F:
insn->opcodeType = TWOBYTE;
return consumeByte(insn, &insn->opcode);
More information about the llvm-commits
mailing list