<div dir="ltr">It's not just that. It's actually quite hard to implement because of a few (sadly, low-priority) deficiencies in LLVM.<div><br></div><div>Turning on debug info will at the least change a few very small, subtle things about the resulting IR. Enough to fail a binary diff in many cases, but no where near enough to actually generate interestingly different code. Things like register allocation order or the order or the order of two unrelated instructions will permute in "harmless" ways.</div>
<div><br></div><div>Fixing these instabilities in the IR is an ongoing challenge, and one we're working on, but its hard to prioritize given than they don't manifest as anything more severe.</div><div><br></div><div>
But that of course leaves us out in the cold when we hit bugs like this where the manifestation is quite severe.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 2:27 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Agreed. It's been on the list for a while but hasn't bubbled to the top. </p><div class="HOEnZb"><div class="h5">

<div class="gmail_quote">On Mar 6, 2014 1:57 PM, "Xinliang David Li" <<a href="mailto:xinliangli@gmail.com" target="_blank">xinliangli@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">To proactively find problems like this -- consider doing this in 3-stage compiler bootstrap -- the stage-2 and stage-3 compilations have -g settings toggled -- .text from these two stages should be bit-identical.  <div>


<br></div><div>David</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 6, 2014 at 12:50 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@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>
  I wouldn't worry about it, just that code generation is often wildly different on atom and so tests can fail pretty quickly on the atom bots. It was mostly a heads up to watch the bots after committing something that looks at particular code generation choices.<br>



<br>
<a href="http://llvm-reviews.chandlerc.com/D2970" target="_blank">http://llvm-reviews.chandlerc.com/D2970</a><br>
<div><div>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>
<br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div>
</div></div><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>