[llvm-dev] Shader bytecode JIT

Joe Eagar via llvm-dev llvm-dev at lists.llvm.org
Sun May 22 12:17:24 PDT 2016


Hi all.  I'm writing a remote 2D graphics API for embedded devices.
It includes a little GLSL 1.0-esque shader language, which is compiled
to executable SSE code at runtime.

Is LLVM a good fit for this sort of thing?  At the moment I'm
compiling NASM into my code, but it doesn't do any register allocation
(which is why I'm considering LLVM).  I don't want to add too much
bloat to the final compiled binaries, nor do I wish to restructure my
build system to match LLVM's.

Thanks,
Joe


More information about the llvm-dev mailing list