<div class="gmail_quote">On Sat, Apr 7, 2012 at 9:24 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I know some people did an audit of the passes a while ago to make sure</div><div>that debug information didn't affect the output of the pass. Looks like they</div><div>missed a few, but in general it shouldn't be too widespread.</div>
<span class="HOEnZb"><font color="#888888"><div></div></font></span></blockquote></div><br><div>Oh, I know that, that's not the problem.</div><div><br></div><div>Just disabling the one optimization (loop rotate) causes wildly different behavior downstream. Block placement goes nuts, branch layout is crap, loops don't get laid out correctly, extra branches in the output, etc.</div>
<div><br></div><div>And from what I can tell, this disables loop rotate for essentially every natural for loop structure with -g...</div><div><br></div><div>I was trying to indicate how inaccurate profiles may have been if collected with debug info because of this optimization not firing, not trying to indicate that I think there are a bunch more problems like this waiting in the wings.... This is the only one I've seen recently.</div>