[LLVMdev] Any idea on translate x86 assembly to LLVM IR?

Tilmann Scheller tilmann.scheller at googlemail.com
Wed Mar 5 10:03:43 PST 2008

>* I'am now considering converting x86 machine assembly into LLVM
*>* IR, does anyone know about any existing project or resource
*>* related to this area? Any difficulities or any ideas on this?
During Google Summer of Code 2007 I was working on llvm-qemu, which
translates from ARM machine code to LLVM IR (at basic block level)
and via the LLVM JIT to x86 machine code. All source
architectures supported by qemu (x86, x86-64, ARM, SPARC, PowerPC, MIPS, m68k)
can be translated to LLVM IR this
way (e.g. adding support for x86 to llvm-qemu should be almost trivial).

You can find llvm-qemu at


Tilmann Scheller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080305/13d1a0f7/attachment.html>

More information about the llvm-dev mailing list