<div dir="ltr">Or perhaps UnscheduledPredInLoop ?<div><br></div><div>David</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 4:08 PM, Philip Reames <span dir="ltr"><<a href="mailto:listmail@philipreames.com" target="_blank">listmail@philipreames.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">reames added inline comments.<br>
<span class=""><br>
================<br>
Comment at: lib/CodeGen/MachineBlockPlacement.cpp:210<br>
@@ -209,3 +209,3 @@<br>
   /// in-loop predecessors of this chain.<br>
   unsigned LoopPredecessors;<br>
 };<br>
----------------<br>
</span><span class="">congh wrote:<br>
> chandlerc wrote:<br>
> > reames wrote:<br>
> > > As a side note, the name of this variable is highly misleading.  When scheduling function chains, this is used to track unscheduled predecessors outside of any loop.  Once this change is in, I'd like to rename this to something more meaningful.  Any suggestions?<br>
> > No real idea. =/ I agree, it was bad when it started and it has gotten worse.<br>
> Maybe ChainPredecessors? But in loops this may also be misleading. If we treat the function as a loop body, maybe ChainPredecessorsInLoop is better?<br>
</span>How does UnscheduledPredecessors sound?  I'm going for something that describes how the value changes over time and what that actually means.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D17830" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17830</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>