[Mlir-commits] [mlir] [mlir][acc] Add map flag for mappings that need no device copy of its descriptor (PR #232064)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Wed Oct 14 12:48:30 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 cpp,h -- mlir/include/mlir/Dialect/OpenACC/OpenACC.h mlir/lib/Dialect/OpenACC/Utils/OpenACCUtilsCG.cpp --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/mlir/include/mlir/Dialect/OpenACC/OpenACC.h b/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
index 429928faa..7b80cf428 100644
--- a/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
+++ b/mlir/include/mlir/Dialect/OpenACC/OpenACC.h
@@ -217,7 +217,8 @@ static constexpr StringLiteral getFromDefaultClauseAttrName() {
 
 /// Name for a unit attribute on a data entry operation stating that nothing in
 /// the region reads the descriptor its variable is reached through, so the
-/// mapping still supplies the bounds but needs no device copy of the descriptor.
+/// mapping still supplies the bounds but needs no device copy of the
+/// descriptor.
 static constexpr StringLiteral getNoDeviceDescriptorAttrName() {
   return StringLiteral("acc.no_device_descriptor");
 }

``````````

</details>


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


More information about the Mlir-commits mailing list