[Mlir-commits] [mlir] [mlir][spirv] Add GpuToLLVM cconv suited to Vulkan, migrate last tests (PR #123384)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Jan 17 10:29:56 PST 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 fbea21aa52f96fc12e19fa4b1063209bc4d19f99 c71170fd9fd43ac6da66156f8085467f8e5c6140 --extensions h,cpp -- mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp mlir/test/lib/Pass/TestVulkanRunnerPipeline.cpp mlir/tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h b/mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
index e682fb1ff4..312f1fc5b2 100644
--- a/mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
+++ b/mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h
@@ -62,10 +62,10 @@ struct FunctionCallBuilder {
/// Collect a set of patterns to convert from the GPU dialect to LLVM and
/// populate converter for gpu types.
-void populateGpuToLLVMConversionPatterns(LLVMTypeConverter &converter,
- RewritePatternSet &patterns,
- bool kernelBarePtrCallConv = false,
- bool kernelIntersperseSizeCallConv = false);
+void populateGpuToLLVMConversionPatterns(
+ LLVMTypeConverter &converter, RewritePatternSet &patterns,
+ bool kernelBarePtrCallConv = false,
+ bool kernelIntersperseSizeCallConv = false);
/// A function that maps a MemorySpace enum to a target-specific integer value.
using MemorySpaceMapping = std::function<unsigned(gpu::AddressSpace)>;
``````````
</details>
https://github.com/llvm/llvm-project/pull/123384
More information about the Mlir-commits
mailing list