[all-commits] [llvm/llvm-project] 4d9479: [flang][openacc] Allow open acc routines from othe...
Andre Kuhlenschmidt via All-commits
all-commits at lists.llvm.org
Fri May 9 11:12:45 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4d9479fa8f4e949bc4c5768477cd36687c1c6b29
https://github.com/llvm/llvm-project/commit/4d9479fa8f4e949bc4c5768477cd36687c1c6b29
Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
Date: 2025-05-09 (Fri, 09 May 2025)
Changed paths:
M flang/include/flang/Lower/OpenACC.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Semantics/mod-file.cpp
M flang/lib/Semantics/resolve-directives.cpp
M flang/lib/Semantics/symbol.cpp
A flang/test/Lower/OpenACC/acc-module-definition.f90
M flang/test/Lower/OpenACC/acc-routine-named.f90
A flang/test/Lower/OpenACC/acc-routine-use-module.f90
M flang/test/Lower/OpenACC/acc-routine.f90
Log Message:
-----------
[flang][openacc] Allow open acc routines from other modules. (#136012)
OpenACC routines annotations in separate compilation units currently get
ignored, which leads to errors in compilation. There are two reason for
currently ignoring open acc routine information and this PR is
addressing both.
- The module file reader doesn't read back in openacc directives from
module files.
- Simple fix in `flang/lib/Semantics/mod-file.cpp`
- The lowering to HLFIR doesn't generate routine directives for symbols
imported from other modules that are openacc routines.
- This is the majority of this diff, and is address by the changes that
start in `flang/lib/Lower/CallInterface.cpp`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list