[flang-commits] [flang] [mlir] [acc][flang] Add genLoad and genStore to PointerLikeType (PR #170348)
via flang-commits
flang-commits at lists.llvm.org
Tue Dec 2 10:42:29 PST 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 h,cpp -- flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.h flang/lib/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.cpp mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp mlir/test/lib/Dialect/OpenACC/TestPointerLikeTypeInterface.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/flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.h b/flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.h
index 38150b294..0f1336234 100644
--- a/flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.h
+++ b/flang/include/flang/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.h
@@ -49,8 +49,8 @@ struct OpenACCPointerLikeModel
mlir::TypedValue<mlir::acc::PointerLikeType> srcPtr,
mlir::Type valueType) const;
- bool genStore(mlir::Type pointer, mlir::OpBuilder &builder, mlir::Location loc,
- mlir::Value valueToStore,
+ bool genStore(mlir::Type pointer, mlir::OpBuilder &builder,
+ mlir::Location loc, mlir::Value valueToStore,
mlir::TypedValue<mlir::acc::PointerLikeType> destPtr) const;
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/170348
More information about the flang-commits
mailing list