[Mlir-commits] [mlir] [mlir][gpu] Update LaunchFuncOp lowering in GPU to LLVM (PR #94991)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Jun 10 07:49:52 PDT 2024


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 3f6fe4efbef610c306eb6c71d6f0428fb6d7ad68 a1af2e2ab612e51d8ef1a4fbd2b855c271fac83b -- mlir/include/mlir/Conversion/GPUCommon/GPUCommonPass.h mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp b/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
index c253b94f43..f110b2f8f4 100644
--- a/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
+++ b/mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
@@ -978,7 +978,7 @@ LogicalResult LegalizeLaunchFuncOpPattern::matchAndRewrite(
     else
       rewriter.eraseOp(launchOp);
     return success();
-  return success();
+    return success();
 }
 
 static Value bitAndAddrspaceCast(Location loc,

``````````

</details>


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


More information about the Mlir-commits mailing list