[llvm] [GlobalISel] Change MatchTable entries to 1 byte each (PR #74429)
Wang Pengcheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 21:15:19 PST 2023
================
@@ -243,7 +330,7 @@ void MatchTable::emitDeclaration(raw_ostream &OS) const {
if (I->Flags & MatchTableRecord::MTRF_Outdent)
Indentation -= 2;
}
- OS << "};\n";
+ OS << "}; // " << CurrentSize << " bytes\n";
----------------
wangpc-pp wrote:
Please create another PR for it and add some test coverages (you can just add some CHECKs to check the table size).
https://github.com/llvm/llvm-project/pull/74429
More information about the llvm-commits
mailing list