Files
apache--tvm/python
Eric Lunderberg 72f0326a88 [Analysis] Allow calls to GlobalVar in @R.function (#16778)
* [Analysis] Allow calls to GlobalVar in @R.function

Prior to this commit, the post-parsing well-formed check performed by
TVMScript allowed a call to `GlobalVar` in a `@R.function`, but only
if it occurred within the context of a `@I.ir_module`.  If
`@R.function` appeared on its own, calls to a `GlobalVar` would be
treated as calls to an undefined function.

* Use approrpirate well-formed checks TIR/Relax functions

* Lint fix

* Import order fix
2024-03-26 08:03:33 -05:00
..