[Mlir-commits] [mlir] [mlir][nvvm] fix a bug when checking layout that cannot be transposed (PR #97538)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Jul 3 07:04:14 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 2a14c0643597c5932af85f22172c99800f9b4a6c f6404c653d97863b973775460334a7f9e2b651ca -- mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp b/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
index ceeb1168eb..4d18965511 100644
--- a/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+++ b/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
@@ -879,7 +879,7 @@ LogicalResult NVVM::WgmmaMmaAsyncOp::verify() {
// Check transpose (only available for f16/bf16)
// Matrices A should be stored in row-major and B in column-major.
- // Only f16/bf16 matrices can be stored in either column-major or row-major
+ // Only f16/bf16 matrices can be stored in either column-major or row-major
// by setting the tranpose value(imm-trans-a,imm-trans-b) in PTX code.
if ((typeA != WGMMATypes::f16 && typeA != WGMMATypes::bf16) &&
(getLayoutA() == mlir::NVVM::MMALayout::col ||
``````````
</details>
https://github.com/llvm/llvm-project/pull/97538
More information about the Mlir-commits
mailing list