Hi @areusch, Thank you so much. LLVM is getting clear to me.
Ah LLVM is used to build TVM because it also has a frontend for C/C++!
As a Target backend (e.g.
relay.build(..., target="llvm")), in which case TVM links against LLVM (e.g. LLVM is a static library) at compile time, and TVM then contains the code-generation pieces of LLVM and is in turn able to emit machine code to implement a model, just like LLVM does.
Ok, in this case LLVM emits code for say x86, arm, etc, at least not for microcontrollers.
I think I can now use TVM on any microcontrollers thanks to you. Also I have clearer idea about what LLVM is doing in TVM.