I want to lower tir to NPU ISA, but I only find BYOC based on relay ir. How to generate our own target code from tir?
I don’t have an answer for it, but you can check vta and hexagon as a reference. As far as I can remember, they connects TIR directly.
I think connecting hw to TIR would be more challenging and interesting compared with BYOC. Think about how LLVM generates machine code.
Thank you. I will try exploring vta.