Update X86MemFoldTables.inc according to https://reviews.llvm.org/D142084's auto-gen table
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Merge this patch into https://reviews.llvm.org/D142084 , then we can have a test coverage.
Comment Actions
do we need to remove the blank line between each table, actually the blank line is generated by:
void printTable(const FoldTable &Table, StringRef TableName, formatted_raw_ostream &OS) { OS << "static const X86MemoryFoldTableEntry MemoryFold" << TableName << "[] = {\n"; for (auto &E : Table) E.second.print(OS); OS << "};\n\n"; }
if we change OS << "};\n\n"; to OS << "};\n";
the blank line between each table will be lost as well.