<div class="gmail_quote">On Wed, Oct 19, 2011 at 5:50 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Ok, wow that wasn't hard at all. This is still *very* much a rough draft, but it's probably better to review that the previous patch. One big caveat, I know I have an iteration bug in here somewhere that is inf-looping. Just ran out of steam debugging it, will pick it back up again later today to shake it out.</div>
</blockquote><div><br></div><div>Oh, of course, i'm not updating the terminators yet... I'll add that...</div><div><br></div><div>Could that cause an infloop when iterating over MBBs in a function?</div><div>Specifically what I'm seeing is a single MBB iterator which when incremented returns itself. Every time. even calling 'dump' on the MachineFunction inf-loops, so clearly I've corrupted the state of the function somehow.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><br></div><div>Still, for the test cases that don't tickle the iteration bug, it generates beautiful, well laid out code. =]</div></blockquote></div><br>