tvm
tvm copied to clipboard
[TIR] add unit-tests for upcoming primfunc-slicing
Introduces (disabled) unit tests that can gradually be enabled as we make progress on primfunc slicing (a.k.a. "functionalization").
cc @Hzfengsy @junrushao1994
CC: @Lunderberg @JosephTheOctonaut
@JosephTheOctonaut @Lunderberg : mind reviewing?
@JosephTheOctonaut @Lunderberg : Feel free to only give cursory reviews on this. It's mostly meant as a rough roadmap. I expect each individual unit test to need a little cleanup as it gets enabled.
Note to self: consider renaming "call_tir" to something else, e.g. "call_tir_subroutine", to avoid confusing overlap with Relax's "call_tir" token.