[Mlir-commits] [mlir] [MLIR][NVVM] Add clusterlaunchcontrol Ops (PR #156585)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Sep 2 22:13:47 PDT 2025
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 cpp -- mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
``````````
: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/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp b/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
index 44fc3114a..69c635a97 100644
--- a/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+++ b/mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
@@ -2132,9 +2132,8 @@ NVVM::IDArgPair ClusterLaunchControlQueryCancelOp::getIntrinsicIDAndArgs(
switch (curOp.getQueryType()) {
case NVVM::ClusterLaunchControlQueryType::IS_CANCELED:
- return {
- llvm::Intrinsic::nvvm_clusterlaunchcontrol_query_cancel_is_canceled,
- args};
+ return {llvm::Intrinsic::nvvm_clusterlaunchcontrol_query_cancel_is_canceled,
+ args};
case NVVM::ClusterLaunchControlQueryType::GET_FIRST_CTA_ID_X:
return {llvm::Intrinsic::
nvvm_clusterlaunchcontrol_query_cancel_get_first_ctaid_x,
``````````
</details>
https://github.com/llvm/llvm-project/pull/156585
More information about the Mlir-commits
mailing list