tqchen commented on PR #15855: URL: https://github.com/apache/tvm/pull/15855#issuecomment-1778022324
Would be great to create a UT for this behavior in the https://github.com/apache/tvm/blob/unity/tests/python/relax/test_vm_codegen_only.py ```python def test(x: Object, callback): alias_v = x kill(x) callback(alias_v) ``` - Pass in a register - have an alias copy - have an explicit kill intrinsic that follows - pass the alias register to a callback - Check in the callback that it is not null We also need to update support for compiled mode -- 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]
