This patch adds support to lower the link clause on OpenACC
declare construct in module declaration.
Depends on D156463
Paths
| Differential D156464
[flang][openacc] Lower acc declare link for module variable ClosedPublic Authored by clementval on Jul 27 2023, 10:56 AM.
Details Summary This patch adds support to lower the link clause on OpenACC Depends on D156463
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 27 2023, 10:56 AM Comment Actions This change looks great to me. Just one small question about error reporting to ensure that the unsupported clause case here is already properly reported by frontend.
This revision is now accepted and ready to land.Jul 27 2023, 11:58 AM
This revision was landed with ongoing or failed builds.Jul 27 2023, 1:04 PM Closed by commit rGa2b92017d3f6: [flang][openacc] Lower acc declare link for module variable (authored by clementval). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 544855 flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-declare.f90
|
Do you know if we already inform user of the following limitation from spec:
"In a Fortran module declaration section, only create, copyin, device_resident, and link clauses are allowed."
If yes, then this error here as-is is fine. Since the frontend will already catch and report proper info.