# Does TIR support cross-function call?

**URL:** <https://discuss.tvm.apache.org/t/does-tir-support-cross-function-call/10338>\
**Category:** Questions\
**Created:** [June 28, 2021, 10:32am UTC](https://discuss.tvm.apache.org/t/does-tir-support-cross-function-call/10338 "2021-06-28T10:32:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tqchen](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/tqchen/32/5_2.png) [@tqchen](https://discuss.tvm.apache.org/u/tqchen)\
**Post date:** [June 28, 2021, 4:35pm UTC](https://discuss.tvm.apache.org/t/does-tir-support-cross-function-call/10338/2 "2021-06-28T16:35:09Z")

</div>

Thanks @UniverseFly !

Yes this is something that we would love to have and the IR spec already support it(by padding in a global var. But right now we indeed do not yet have a compiler support for it.

---

_[View the full topic](https://discuss.tvm.apache.org/t/does-tir-support-cross-function-call/10338)._
