This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add support for creating unique internal names.
ClosedPublic

Authored by schweitz on Apr 24 2020, 4:37 PM.

Details

Summary

Support for a bijective unique name creation scheme that allows both
the creation of unique names and to decode those names back to symbols.

Diff Detail

Event Timeline

schweitz created this revision.Apr 24 2020, 4:37 PM
Herald added a project: Restricted Project. · View Herald Transcript
schweitz updated this revision to Diff 260032.Apr 24 2020, 4:51 PM
vjayathirtha-nv accepted this revision.Apr 24 2020, 5:13 PM
This revision is now accepted and ready to land.Apr 24 2020, 5:13 PM
vjayathirtha-nv added a project: Restricted Project.Apr 24 2020, 5:16 PM
This revision was automatically updated to reflect the committed changes.

Would it make sens to also upstream https://github.com/flang-compiler/f18-llvm-project/blob/fir-dev/flang/documentation/BijectiveInternalNameUniquing.md in this patch. It explains the rational of this mangling.
Otherwise looks good to me.