[llvm] 9616fd1 - [X86][tablgen] Fix typo in comments, NFC

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 23 22:57:08 PDT 2023


Author: Shengchen Kan
Date: 2023-04-24T13:57:00+08:00
New Revision: 9616fd1a7dbe215dd8e71cf086fc955388ec654d

URL: https://github.com/llvm/llvm-project/commit/9616fd1a7dbe215dd8e71cf086fc955388ec654d
DIFF: https://github.com/llvm/llvm-project/commit/9616fd1a7dbe215dd8e71cf086fc955388ec654d.diff

LOG: [X86][tablgen] Fix typo in comments, NFC

Added: 
    

Modified: 
    llvm/utils/TableGen/X86RecognizableInstr.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/X86RecognizableInstr.cpp b/llvm/utils/TableGen/X86RecognizableInstr.cpp
index 7cbee156ffe0..b2f51ba01689 100644
--- a/llvm/utils/TableGen/X86RecognizableInstr.cpp
+++ b/llvm/utils/TableGen/X86RecognizableInstr.cpp
@@ -531,7 +531,7 @@ void RecognizableInstr::emitInstructionSpecifier() {
     // Operand 3 (optional) is an immediate.
     assert(numPhysicalOperands >= 2 + additionalOperands &&
            numPhysicalOperands <= 3 + additionalOperands &&
-           "Unexpected number of operands for MRMDestRegFrm");
+           "Unexpected number of operands for MRMDestReg");
 
     HANDLE_OPERAND(rmRegister)
     if (HasEVEX_K)


        


More information about the llvm-commits mailing list