[LLVMdev] Inline assembler
Chris Lattner
sabre at nondot.org
Wed Nov 7 09:46:03 PST 2007
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/
More information about the llvm-dev
mailing list