This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Improve mangling of illegal PTX characters in global names.
AbandonedPublic

Authored by tra on Apr 14 2016, 10:50 AM.

Details

Summary
  • replace illegal characters in all classes of global symbols
  • deal with illegal symbols potentially introduced when setName() has to append unique suffix (it is currently separated by '.')

Diff Detail

Event Timeline

tra updated this revision to Diff 53756.Apr 14 2016, 10:50 AM
tra retitled this revision from to [NVPTX] Improve mangling of illegal PTX characters in global names..
tra updated this object.
tra added reviewers: eliben, jlebar, jholewinski.
tra added a subscriber: llvm-commits.
jlebar edited edge metadata.Apr 14 2016, 11:24 AM

I think D17738 is similar? We really need a solution for this, but unfortunately this one may not fly.

tra added a comment.Apr 14 2016, 11:34 AM

I think D17738 is similar? We really need a solution for this, but unfortunately this one may not fly.

Hmm. I was unaware of that patch.
I'm mostly interested in mangling functions. I'll remove the change that deals with '.' introduced by setName() and let D17738 handle it.

jlebar removed a reviewer: jlebar.Aug 31 2016, 9:48 AM
tra abandoned this revision.Jan 12 2017, 11:24 AM