[llvm] [GlobalISel] Change MatchTable entries to 1 byte each (PR #74429)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 5 20:23:55 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:

Can this be commited seperately so that we can see the bytes reduction?
It can be `CurrentSize * 8` bytes without your changes.

https://github.com/llvm/llvm-project/pull/74429


More information about the llvm-commits mailing list