[flang-commits] [flang] [llvm] [mlir] [Flang][OpenMP] Fix Fortran automap handling (PR #162501)

via flang-commits flang-commits at lists.llvm.org
Tue Jun 2 00:09:49 PDT 2026


================
@@ -7678,6 +7688,35 @@ convertDeclareTargetAttr(Operation *op, mlir::omp::DeclareTargetAttr attribute,
           convertToCaptureClauseKind(attribute.getCaptureClause().getValue());
       auto deviceClause =
           convertToDeviceClauseKind(attribute.getDeviceType().getValue());
+      llvm::StringRef entryMangledName = mangledName;
+      llvm::Constant *entryAddr = llvm::cast<llvm::Constant>(gVal);
----------------
agozillon wrote:

Can we double check if https://github.com/llvm/llvm-project/pull/200248 resolves the need for these changes, and please do feel free to review the PR so it can be landed! I'll add you to the reviewer list.

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


More information about the flang-commits mailing list