This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Fix declare attribute for device_resident, link and deviceptr
ClosedPublic

Authored by clementval on Aug 9 2023, 10:08 AM.

Details

Summary

When creating declare entry operation, the variable needs to be flagged
with the declare attribute. This was not done for device_resident, link and
deviceptr.

Diff Detail

Event Timeline

clementval created this revision.Aug 9 2023, 10:08 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 9 2023, 10:08 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Aug 9 2023, 10:08 AM
razvanlupusoru accepted this revision.Aug 9 2023, 10:56 AM

Thank you for fixing this!

This revision is now accepted and ready to land.Aug 9 2023, 10:56 AM
This revision was landed with ongoing or failed builds.Aug 9 2023, 11:08 AM
This revision was automatically updated to reflect the committed changes.