This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Attach attribute only when there is an exit operation
ClosedPublic

Authored by clementval on Aug 16 2023, 12:01 PM.

Details

Summary

Not all declare clause have an exit operation attach to them and
therefore no dealloc function generated. Attach
the pre/post deallocation attribute only for the clauses that have
an exit operation.

Diff Detail

Event Timeline

clementval created this revision.Aug 16 2023, 12:01 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 16 2023, 12:01 PM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Aug 16 2023, 12:01 PM
razvanlupusoru accepted this revision.Aug 16 2023, 12:23 PM

Thank you!

This revision is now accepted and ready to land.Aug 16 2023, 12:23 PM
This revision was landed with ongoing or failed builds.Aug 16 2023, 1:10 PM
This revision was automatically updated to reflect the committed changes.