[LLVMdev] Inline assembler

Aaron Gray angray at beeb.net
Wed Nov 7 10:41:31 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.

Thanks, I'll do that,

Aaron




More information about the llvm-dev mailing list