diff options
-rw-r--r-- | llvm/utils/TableGen/X86RecognizableInstr.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp index f2e60b62c7c..caae0fc3907 100644 --- a/llvm/utils/TableGen/X86RecognizableInstr.cpp +++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp @@ -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. |