Does LLVM support inline assembler :- a) In GCC front end ? b) withing .ll files ? If so is there any documentation, and could you point me to the code that implements this ? Many thanks in advance, Aaron -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071107/c989385f/attachment.html>
On Wed, 7 Nov 2007, Aaron Gray wrote:> Does LLVM support inline assembler :- > a) In GCC front end ?yes> b) withing .ll files ?yes.> If so is there any documentation, and could you point me to the code > that implements this ?langref has a short description, but your best bet is to take some example C code that uses inline asm and compile it with "llvm-gcc -emit-llvm -S" to see what it produces. -Chris -- http://nondot.org/sabre/ http://llvm.org/
> On Wed, 7 Nov 2007, Aaron Gray wrote: >> Does LLVM support inline assembler :- >> a) In GCC front end ? > > yes > >> b) withing .ll files ? > > yes. > >> If so is there any documentation, and could you point me to the code >> that implements this ? > > langref has a short description, but your best bet is to take some example > C code that uses inline asm and compile it with "llvm-gcc -emit-llvm -S" > to see what it produces.Thanks, I'll do that, Aaron