[mlir] [llvm] Shard the public llvm-config.h in multiple files (NFC) (PR #71273)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 4 17:33:26 PDT 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 9e90027d618687f3d744e21ad3eda5735a167503 e04d954292cd6e4e0557534005a3f1b2703b770d -- llvm/include/llvm/Config/llvm-config-on-unix.cmake.h mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp mlir/lib/Target/LLVM/NVVM/Target.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp b/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
index 2b194250c..d8e86da43 100644
--- a/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
+++ b/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
@@ -13,8 +13,8 @@
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/LLVMIR/NVVMDialect.h"
-#include "llvm/Support/Debug.h"
#include "llvm/Config/llvm-config-target-NVPTX.h"
+#include "llvm/Support/Debug.h"
#if MLIR_GPU_TO_CUBIN_PASS_ENABLE
#include "mlir/Pass/Pass.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/71273
More information about the llvm-commits
mailing list