[TableGen,X86] Remove extra optional operand from RawFrm. RawFrm with 2 immediates is handled by RawFrmImm8/RawFrmImm16.

llvm-svn: 261187
This commit is contained in:
Craig Topper 2016-02-18 04:54:29 +00:00
parent e1818af8c5
commit 8a01c41059
1 changed files with 1 additions and 3 deletions

View File

@ -583,11 +583,9 @@ void RecognizableInstr::emitInstructionSpecifier() {
return;
case X86Local::RawFrm:
// Operand 1 (optional) is an address or immediate.
// Operand 2 (optional) is an immediate.
assert(numPhysicalOperands <= 2 &&
assert(numPhysicalOperands <= 1 &&
"Unexpected number of operands for RawFrm");
HANDLE_OPTIONAL(relocation)
HANDLE_OPTIONAL(immediate)
break;
case X86Local::RawFrmMemOffs:
// Operand 1 is an address.