[LLVMdev] Convert C variable to LLVM IR Variable
ChiaLun
h3355626 at msn.com
Tue Mar 5 08:50:55 PST 2013
Hi Wei-Ren Chen,
Thanks for your information, I also find a method to write LLVM
InlineAsm
First, write a c program which contain gcc asm ( I know how to write gcc
asm )
then use clang -S -emit-llvm $prog
next do llc -march=cpp $prog.s
You will see how to write LLVM InlineAsm in the output file by llc
Chia Lun Liu
--
View this message in context: http://llvm.1065342.n5.nabble.com/Convert-C-variable-to-LLVM-IR-Variable-tp55680p55692.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
More information about the llvm-dev
mailing list