[flang-commits] [flang] [Flang][OpenMP] Optimize target updates of derived-type scalars (PR #219488)
via flang-commits
flang-commits at lists.llvm.org
Fri Aug 28 09:55:43 PDT 2026
================
@@ -4300,6 +4302,173 @@ static mlir::omp::TargetDataOp genTargetDataOp(
return targetDataOp;
}
+struct TargetUpdateKernelEntry {
+ mlir::omp::MapInfoOp mapInfo;
+ mlir::Value hostPtr;
+ mlir::Type componentType;
+};
+
+static bool hasAMDGCNTarget(mlir::ModuleOp module) {
----------------
agozillon wrote:
Nit: Might be more at home in one of the OpenMP utils files
https://github.com/llvm/llvm-project/pull/219488
More information about the flang-commits
mailing list