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

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 00:26:01 PST 2023


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff f1963fde9f8be49454d827d72b83ee8aaa78a9cc ca4ba8b1eaacd3d071a74ac1fd5ac2b59ae03e5d -- llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutor.h llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h llvm/utils/TableGen/GlobalISelMatchTable.cpp llvm/utils/TableGen/GlobalISelMatchTable.h llvm/utils/TableGen/GlobalISelMatchTableExecutorEmitter.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/utils/TableGen/GlobalISelMatchTable.cpp b/llvm/utils/TableGen/GlobalISelMatchTable.cpp
index f6e804a3a4..61da6eed7f 100644
--- a/llvm/utils/TableGen/GlobalISelMatchTable.cpp
+++ b/llvm/utils/TableGen/GlobalISelMatchTable.cpp
@@ -330,7 +330,8 @@ void MatchTable::emitDeclaration(raw_ostream &OS) const {
     if (I->Flags & MatchTableRecord::MTRF_Outdent)
       Indentation -= 2;
   }
-  OS << "}; // Size: " << CurrentSize << " bytes\n";;
+  OS << "}; // Size: " << CurrentSize << " bytes\n";
+  ;
 }
 
 MatchTable MatchTable::buildTable(ArrayRef<Matcher *> Rules, bool WithCoverage,

``````````

</details>


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


More information about the llvm-commits mailing list