[llvm] [NVPTX] Add TMA bulk tensor copy intrinsics (PR #96083)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 07:55:39 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 7e37d021022b0786a704a89abae2014692158b2f bc6ec96f7f770a5996026dc9aa60fcf42d949468 --extensions h,cpp -- llvm/include/llvm/IR/NVVMIntrinsicFlags.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 0dc5f0a89f..e6e2eb731a 100644
--- a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+++ b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
@@ -4138,8 +4138,7 @@ static size_t GetCpAsyncBulkTensorDimFromIntrinsic(unsigned IID) {
if (IsMultiCast) \
return CP_ASYNC_BULK_TENSOR_OPCODE(GMEM_TO_SMEM, dim, mode, _MC); \
return CP_ASYNC_BULK_TENSOR_OPCODE(GMEM_TO_SMEM, dim, mode, ); \
- } \
- ()
+ }()
static unsigned GetCpAsyncBulkTensorS2GOpcode(size_t Dim, bool IsShared32,
bool IsCacheHint, bool IsIm2Col) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/96083
More information about the llvm-commits
mailing list