This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Retain the declare information in module file declaration
ClosedPublic

Authored by clementval on Aug 4 2023, 11:20 AM.

Details

Summary

F18 produce a module file with a declaration part. This patch
propagates the OpenACC declare information in the module file along the variable
declaration.

Depends on D157042

Diff Detail

Event Timeline

clementval created this revision.Aug 4 2023, 11:20 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: Anastasia. · View Herald Transcript
clementval requested review of this revision.Aug 4 2023, 11:20 AM
razvanlupusoru accepted this revision.Aug 4 2023, 11:34 AM

Looks great to me. Excellent start!

Any ideas whether declare bounds should also be stored somewhere?

This revision is now accepted and ready to land.Aug 4 2023, 11:34 AM

Looks great to me. Excellent start!

Any ideas whether declare bounds should also be stored somewhere?

Bounds will currently be lost indeed. I need to check where we can store this information.

clementval updated this revision to Diff 547323.Aug 4 2023, 1:20 PM

Rebase + fix test

clementval updated this revision to Diff 547333.Aug 4 2023, 1:41 PM

Use test_modfile.py to check module file output

This revision was landed with ongoing or failed builds.Aug 4 2023, 2:03 PM
This revision was automatically updated to reflect the committed changes.