[LLVMdev] Different results using -emit-llvm and llc together than just using -S?

Ryan Taylor ryta1203 at gmail.com
Tue Mar 12 17:13:08 PDT 2013


Why would the generated assembly results for a piece of code be different
if I did this:

clang -S -emit-llvm sample.c -o sample.ll
llc sample.ll -o sample.s

then if I did this:

clang -S sample.c -o sample.s

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130312/5fc1a52a/attachment.html>


More information about the llvm-dev mailing list