Anton,<div><br></div><div> Is this true even at -O0?</div><div><br></div><div>Thanks.<br><br><div class="gmail_quote">On Wed, Mar 13, 2013 at 3:28 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">llc and clang have different set of defaults.<br>
<br>
E.g. llc defaults to frame pointer elimination, etc.<br>
<div><div class="h5"><br>
On Wed, Mar 13, 2013 at 4:13 AM, Ryan Taylor <<a href="mailto:ryta1203@gmail.com">ryta1203@gmail.com</a>> wrote:<br>
> Why would the generated assembly results for a piece of code be different if<br>
> I did this:<br>
><br>
> clang -S -emit-llvm sample.c -o sample.ll<br>
> llc sample.ll -o sample.s<br>
><br>
> then if I did this:<br>
><br>
> clang -S sample.c -o sample.s<br>
><br>
> Thanks.<br>
><br>
</div></div>> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>
<br>
<br>
<br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</blockquote></div><br></div>