[LLVMdev] Help needed on debugging llvm

Craig Topper craig.topper at gmail.com
Tue Jan 22 10:50:46 PST 2013


Are you still having issues with FMA4? I wonder if PR15040 is related. A
fix was just committed.

On Wed, Nov 7, 2012 at 3:22 AM, Anitha Boyapati
<anitha.boyapati at gmail.com>wrote:

>
>
> On 7 November 2012 15:29, Duncan Sands <baldrick at free.fr> wrote:
>
>>
>> That way the output should be exactly the same as the output dragonegg
>> would
>> normally run the LLVM optimizers on, e.g. GCC constant folding and other
>> such
>> optimizations which get turned on at -O2 will still have happened
>> (dragonegg
>> turns off almost all GCC optimizations by default, but turning everything
>> off
>> isn't practical).
>>
>> Running the output through "opt -O2" should then do the same
>> optimizations as
>> dragonegg would have done.  I say "should" because in my experience this
>> isn't
>> always true, though it is supposed to be true.
>>
>
> Ok.
>
>
>>
>> Next comes the codegen stage, which you can emulate using llc (or clang
>> like
>> you do below, but llc is more direct).  It isn't that easy finding out
>> exactly
>> what flags dragonegg passes to llc, so this might be a bit painful.
>>
>
> Yes. This is probably what I need now. Code Generation options used by
> dragonegg vs clang (or llc as I referred to in last email).
>
> Thanks for all the suggestions.
>
>
> - Anitha
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>


-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130122/276efef4/attachment.html>


More information about the llvm-dev mailing list