This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Lower if_present clause correctly on acc update
ClosedPublic

Authored by clementval on May 8 2023, 7:41 PM.

Details

Summary

The if_present clause is modeled as an attribute on the
acc.update operation. The lowering was not adding correctly the attribute
when the clause was present. This patch update the lowering to add
the attribute when needed.

Diff Detail

Event Timeline

clementval created this revision.May 8 2023, 7:41 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 8 2023, 7:41 PM
clementval requested review of this revision.May 8 2023, 7:41 PM
razvanlupusoru accepted this revision.May 8 2023, 8:17 PM
This revision is now accepted and ready to land.May 8 2023, 8:17 PM