kparzysz-quic commented on PR #84:
URL: https://github.com/apache/tvm-rfcs/pull/84#issuecomment-1171508847
A couple of thoughts...
- We should have a common facility that represents a scope in which names
need to be unique. Conceptually it could be a set of "known" strings (that are
presumed used), and something (like a private counter) to generate a unique
suffix. The use would be `new_name = GenerateName("foo")`. If `foo` had
already been generated, `new_name` would be set to `"foo4"` (for example).
This should not produce global variables (or any IR objects), just names.
- This RFC still doesn't settle the question whether "name_hint" is a final
name or not. I'm open to requiring that global symbols are given final names
from the beginning, not hints.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]