[Mlir-commits] [mlir] [mlir][AMDGPU] Remove an old bf16 workaround (PR #108409)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Sep 12 12:07:02 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 43fd2c401edd4f3ca0c687dd6937c2603fb15f71 d7f7973804d5fd38bcb0b8253ee949f707e71de0 --extensions cpp -- mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp b/mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
index 28991b6b9e..f80d2793ea 100644
--- a/mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
+++ b/mlir/lib/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.cpp
@@ -674,8 +674,7 @@ struct WMMAOpLowering : public ConvertOpToLLVMPattern<WMMAOp> {
auto outType =
typeConverter->convertType<VectorType>(op.getDestD().getType());
if (!outType)
- return rewriter.notifyMatchFailure(
- op, "type conversion failed");
+ return rewriter.notifyMatchFailure(op, "type conversion failed");
if (chipset.majorVersion != 11 && chipset.majorVersion != 12)
return op->emitOpError("WMMA only supported on gfx11 and gfx12");
``````````
</details>
https://github.com/llvm/llvm-project/pull/108409
More information about the Mlir-commits
mailing list