Are you still having issues with FMA4? I wonder if PR15040 is related. A fix was just committed.<br><br><div class="gmail_quote">On Wed, Nov 7, 2012 at 3:22 AM, Anitha Boyapati <span dir="ltr"><<a href="mailto:anitha.boyapati@gmail.com" target="_blank">anitha.boyapati@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div class="im">On 7 November 2012 15:29, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br>
</div><div class="im"><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">

<br>
That way the output should be exactly the same as the output dragonegg would<br>
normally run the LLVM optimizers on, e.g. GCC constant folding and other such<br>
optimizations which get turned on at -O2 will still have happened (dragonegg<br>
turns off almost all GCC optimizations by default, but turning everything off<br>
isn't practical).<br>
<br>
Running the output through "opt -O2" should then do the same optimizations as<br>
dragonegg would have done.  I say "should" because in my experience this isn't<br>
always true, though it is supposed to be true.<br></blockquote><div> </div></div><div>Ok.</div><div class="im"><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">



<br>
Next comes the codegen stage, which you can emulate using llc (or clang like<br>
you do below, but llc is more direct).  It isn't that easy finding out exactly<br>
what flags dragonegg passes to llc, so this might be a bit painful.<br></blockquote><div> </div></div><div>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).</div>


<div> </div><div>Thanks for all the suggestions.</div><span class="HOEnZb"><font color="#888888"><div> </div><div> </div><div>- Anitha </div></font></span></div>
<br>_______________________________________________<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></blockquote></div><br><br clear="all"><div><br></div>-- <br>~Craig