3 ms·
Why not LLVM intermediate representation (IR)? Why do we need a whole new assembly language?
by labrador 5y ago
Why not LLVM intermediate representation (IR)? Why do we need a whole new assembly language?
- tester756 5y agoI don't know but you can generate LLVM IR and then use wasm-ld in order to generate WASM :P
- astrange 5y agoLLVM IR is not an executable target, it is a compiler IR. It is not safe, machine-independent, or even specified.
- azakai 5y agoSee "Why not just use LLVM bitcode as a binary format?" on the Wasm website FAQ: https://webassembly.org/docs/faq/ https://webassembly.org/docs/faq/
- labrador 5y agoThank you. For a minute there I thought I asked a stupid question, but I should RTFM