2 ms·
So will there be code to turn LLVM IR into asm.js stuff? That would be pretty awesome (and a nice way to make Emscripten more accessible to other languages?).
by dochtman 14y ago
So will there be code to turn LLVM IR into asm.js stuff? That would be pretty awesome (and a nice way to make Emscripten more accessible to other languages?).
- jevinskie 14y agoEmscripten is trying to move their backend into LLVM which would accomplish the same thing.
- azakai 14y ago> So will there be code to turn LLVM IR into asm.js stuff? There already is, that is precisely what emscripten does when run with the ASM_JS=1 flag set. Emscripten's input is LLVM IR, not C or C++. (Although, it has been mostly tested on LLVM IR generated from clang that was given C or C++.)