[LLVMdev] Help needed on debugging llvm

Anitha B Gollamudi anitha.boyapati at gmail.com
Sun Mar 10 21:36:31 PDT 2013


On 23 January 2013 00:20, Craig Topper <craig.topper at gmail.com> wrote:
>
> Are you still having issues with FMA4? I wonder if PR15040 is related. A
> fix was just committed.

It seems to be so! I will look into it immediately.

Apologies for the late e-mail. I ran out of time devoted for this PR
and moved on. Coincidentally, only today I came back to this PR for
further debugging.


Thanks!


>
> 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




--
 Anitha



More information about the llvm-dev mailing list