One related thing was that we intended to consolidate all of the different 
functions into one IRModule (e.g. those passed to external codegen with those 
passed to ordinary TVM codegen). If we had done that, we could probably do the 
following:

- If a Relay-to-Runtime hook is used, find a way to lock the name or provide a 
way for that codegen to mangle the function name internally.
- If a TIR-to-Runtime hook is used, just mangle the names ourselves right 
before codegen.

We might still be able to get away with applying a mangle pass to a collection 
of IRModules if we did it at a single point.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/pre-rfc-name-mangling-in-irmodules/12944/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/4f023c4219c3d7f4125baa2086abfe17c71b0b0eccb989a04bd46e7c56908e9a).

Reply via email to