This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add getTypeAsString function to create symbols
ClosedPublic

Authored by clementval on May 19 2023, 8:42 AM.

Details

Summary

This patch adds a common function to get a string representation
of a FIR type. This will be useful to generate couple of
operations like the acc.private.recipe, acc.firstprivate.recipe
and the acc.reduction.recipe

Diff Detail

Event Timeline

clementval created this revision.May 19 2023, 8:42 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
clementval requested review of this revision.May 19 2023, 8:42 AM
razvanlupusoru accepted this revision.May 19 2023, 4:02 PM

This is perfect. Glad to see a single spot for canonicalizing names of types.

This revision is now accepted and ready to land.May 19 2023, 4:02 PM
This revision was automatically updated to reflect the committed changes.