[llvm] [NVPTX] Add TMA bulk tensor reduction intrinsics (PR #116854)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 26 05:10:08 PST 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 90df66455b2ff6a3b3754a56afafc05935a05e15 67da5e51c1d074154740ad1a93e1e872ba2b5e9f --extensions cpp,h -- llvm/include/llvm/IR/NVVMIntrinsicFlags.h llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.h llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
index de0089575c..e1fb2d7fce 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
@@ -4178,7 +4178,7 @@ bool NVPTXScopes::empty() const { return Scopes.size() == 0; }
     if (is_mc)                                                                 \
       return CP_ASYNC_BULK_TENSOR_OPCODE(G2S, dim, mode, is_s32, _MC);         \
     return CP_ASYNC_BULK_TENSOR_OPCODE(G2S, dim, mode, is_s32, );              \
-  }()                                                                          \
+  }()
 
 #define GET_CP_ASYNC_BULK_TENSOR_OPCODE_PREFETCH(dim, mode, is_ch)             \
   (is_ch ? NVPTX::CP_ASYNC_BULK_TENSOR_PREFETCH_##dim##_##mode##_CH            \

``````````

</details>


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


More information about the llvm-commits mailing list