[llvm] 381f585 - [X86] Fix Werror X86GenCompressEVEXTables.inc:1627:2: error: extra ';' outside of a function

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 21 20:26:51 PST 2024


Author: Shengchen Kan
Date: 2024-01-22T12:24:41+08:00
New Revision: 381f5851988f2602ef0bbfd7547e1cfd9f2a3ead

URL: https://github.com/llvm/llvm-project/commit/381f5851988f2602ef0bbfd7547e1cfd9f2a3ead
DIFF: https://github.com/llvm/llvm-project/commit/381f5851988f2602ef0bbfd7547e1cfd9f2a3ead.diff

LOG: [X86] Fix Werror X86GenCompressEVEXTables.inc:1627:2: error: extra ';' outside of a function

Added: 
    

Modified: 
    llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp b/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
index 133eb9dfbf4bbc..fef8dc7236f57c 100644
--- a/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
+++ b/llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
@@ -93,7 +93,7 @@ void X86CompressEVEXTablesEmitter::printCheckPredicate(
   }
 
   OS << "  }\n";
-  OS << "};\n\n";
+  OS << "}\n\n";
 }
 
 static uint8_t byteFromBitsInit(const BitsInit *B) {


        


More information about the llvm-commits mailing list