Displaying 3 results from an estimated 3 matches for "2a0b8cfd".
2013 Mar 13
0
[LLVMdev] Different results using -emit-llvm and llc together than just using -S?
llc and clang have different set of defaults.
E.g. llc defaults to frame pointer elimination, etc.
On Wed, Mar 13, 2013 at 4:13 AM, Ryan Taylor <ryta1203 at gmail.com> wrote:
> 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:
>
2013 Mar 13
1
[LLVMdev] Different results using -emit-llvm and llc together than just using -S?
...>
>
>
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130313/2a0b8cfd/attachment.html>
2013 Mar 13
5
[LLVMdev] Different results using -emit-llvm and llc together than just using -S?
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>