[LLVMdev] Different results using -emit-llvm and llc together than just using -S?
ryta1203 at gmail.com
Wed Mar 13 09:23:29 PDT 2013
Is this true even at -O0?
On Wed, Mar 13, 2013 at 3:28 AM, Anton Korobeynikov <anton at korobeynikov.info
> 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:
> > clang -S sample.c -o sample.s
> > Thanks.
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev