Hi I am trying to a write a standalone tool to compile llvm to x86 assembly. For this purpose i wish to get a custom IR from llvm. The custom IR is written in C. Would this require writing a new lexer and parser or are there any libraries that can assist me. Thanking You Aseem Garg
On 11.09.2011 22:47, aseem garg wrote:> Hi > > I am trying to a write a standalone tool to compile llvm to x86 assembly. > For this purpose i wish to get a custom IR from llvm. The custom IR is > written in C. Would this require writing a new lexer and parser or are > there any libraries that can assist me. >What is special about your custom IR? Also, how does your tool differ from llc? Sebastian