The compiler output is a tree of `runtime.Module`. DSO-exportable means a 
`runtime.Module` in that tree whose `type_key` is `c` or `llvm`. TVM links 
directly against LLVM and invokes the LLVM APIs to generate code. 

When you call `export_library`, TVM traverses the tree of `runtime.Module`. 
When it encounters one with `type_key` of `llvm`, it uses LLVM APIs to produce 
binary `.o` for the targeted platform, then passes all such encountered modules 
to the system linker to produce a `.so`.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/how-tvm-codegen-arm-instruction/10598/4)
 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/6248f7b7bc716ff13481fa35ccb6fedfac3fb42e6f1c45ae31bc372800ae858a).

Reply via email to