This is an archive of the discontinued LLVM Phabricator instance.

[flang][openacc][NFC] Add API to create acc.private.recipe from FIR type
ClosedPublic

Authored by clementval on May 23 2023, 10:05 AM.

Details

Summary

Simply make the creation of acc.private.recipe accesible through an API.
This will be useful when we will implement passes like the implicit
privatization.

Diff Detail

Event Timeline

clementval created this revision.May 23 2023, 10:05 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 23 2023, 10:05 AM
clementval requested review of this revision.May 23 2023, 10:05 AM

Update signature so AbstractConverter is not needed

razvanlupusoru accepted this revision.May 23 2023, 3:07 PM

Yes, exposing this is a great idea since recipe generation is specific to the dialect that the acc dialect is used with. Thanks for thinking about this.

This revision is now accepted and ready to land.May 23 2023, 3:07 PM