[llvm] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 07:49:00 PDT 2025


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 HEAD~1 HEAD --extensions h,cpp -- llvm/benchmarks/RuntimeLibcalls.cpp llvm/unittests/IR/RuntimeLibcallsTest.cpp llvm/include/llvm/IR/RuntimeLibcalls.h llvm/lib/IR/RuntimeLibcalls.cpp llvm/lib/Object/IRSymtab.cpp llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/IR/RuntimeLibcalls.cpp b/llvm/lib/IR/RuntimeLibcalls.cpp
index 128ce465f..88cb192c0 100644
--- a/llvm/lib/IR/RuntimeLibcalls.cpp
+++ b/llvm/lib/IR/RuntimeLibcalls.cpp
@@ -9,8 +9,8 @@
 #include "llvm/IR/RuntimeLibcalls.h"
 #include "llvm/ADT/StringTable.h"
 #include "llvm/Support/Debug.h"
-#include "llvm/TargetParser/ARMTargetParser.h"
 #include "llvm/Support/xxhash.h"
+#include "llvm/TargetParser/ARMTargetParser.h"
 
 #define DEBUG_TYPE "runtime-libcalls-info"
 

``````````

</details>


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


More information about the llvm-commits mailing list