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