[Mlir-commits] [llvm] [mlir] [MLIR][NVVM][NVPTX] Add tcgen05.mma kind::ti16 for sm_107f + mxf4{nvf4} for sm_107a (PR #215624)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Aug 12 04:51:50 PDT 2026


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 origin/main HEAD --extensions h,cpp -- llvm/include/llvm/IR/NVVMIntrinsicUtils.h llvm/lib/IR/NVVMIntrinsicUtils.cpp llvm/lib/Target/NVPTX/NVPTXSubtarget.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/llvm/lib/Target/NVPTX/NVPTXSubtarget.h b/llvm/lib/Target/NVPTX/NVPTXSubtarget.h
index 601c32fe5..cf0b3c1c6 100644
--- a/llvm/lib/Target/NVPTX/NVPTXSubtarget.h
+++ b/llvm/lib/Target/NVPTX/NVPTXSubtarget.h
@@ -177,7 +177,8 @@ public:
 
   bool hasTcgen05MMASparseMxf4nvf4() const {
     return hasFeature(NVPTX::PTX87) &&
-           hasAnyFeature({NVPTX::SM100a, NVPTX::SM103a, NVPTX::SM110a, NVPTX::SM107a});
+           hasAnyFeature(
+               {NVPTX::SM100a, NVPTX::SM103a, NVPTX::SM110a, NVPTX::SM107a});
   }
 
   bool hasTcgen05MMASparseMxf4() const {

``````````

</details>


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


More information about the Mlir-commits mailing list