We have similar observation that LLVM is unable to produce what we exactly want 
when it comes to very low-level control (e.g. registers, pipeline depth, etc). 
A way to obtain fine-grained control is to embed TVM intrinsics that could be 
lowered to ASM.

BTW, if you would like to play around with TIR, you might be interested in the 
new round-trippable TVM script that @spectrometerHBH and @Hzfengsy developed 
(API: `tvm.script.asscript`, `tvm.script.tir`). We can actually print out the 
IR, manually manipulate it, then parse it back. It means that we don't need to 
be limited by those existing schedule primitives, but can control the TIR at 
any stage of those passes.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/do-we-have-any-way-to-process-codegen-with-more-fine-grade-control/9908/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/0c06106ab97cfd09d7602b665b5998bb170175168e61437f26f351bee4e3be8c).

Reply via email to