This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Set exit op for device_resident to acc.delete
ClosedPublic

Authored by clementval on Aug 9 2023, 11:53 AM.

Details

Summary

The exit operation for the declare device_resident in function/subroutine
is set to delete. Make is consistent and set it also for global declare.

Diff Detail

Event Timeline

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

Nice catch that this case was missed! Looks good to me.

This revision is now accepted and ready to land.Aug 10 2023, 10:17 AM