This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc] Lower acc routine with function name
ClosedPublic

Authored by clementval on Aug 17 2023, 12:22 PM.

Details

Summary

The routine directive can appear in the specification part of
a subroutine, function or module and therefore appear before the
function or subroutine is lowered. We keep track of the created
routine info attribute and attach them to the function at the end
of the lowering if the directive appeared before the function was
lowered.

Diff Detail

Event Timeline

clementval created this revision.Aug 17 2023, 12:22 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 17 2023, 12:22 PM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Aug 17 2023, 12:22 PM

Clear the list at the end

razvanlupusoru accepted this revision.Aug 17 2023, 1:39 PM

Looks great!

This revision is now accepted and ready to land.Aug 17 2023, 1:39 PM
This revision was landed with ongoing or failed builds.Aug 17 2023, 2:25 PM
This revision was automatically updated to reflect the committed changes.