<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 23, 2015 at 2:24 AM, Sanjoy Das <span dir="ltr"><<a href="mailto:sanjoy@playingwithpointers.com" target="_blank">sanjoy@playingwithpointers.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">The code is perfectly fine; I just misread it, as I said. :)</p>
<p dir="ltr">I've abandoned the revision on phabricator.</p>
<p dir="ltr">Sent from a mobile device, please excuse typos.</p></blockquote><div>No worries, sorry for the noise on my end! My mail client didn't tell me you had replied. :/</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Jan 23, 2015 2:14 AM, "David Majnemer" <<a href="mailto:david.majnemer@gmail.com" target="_blank">david.majnemer@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">Here was my thinking when I wrote the check you are modifying:<br>
<br>
1. If we are going to compare against the post-incremented induction variable, the IndVar had better not have a wrapping flag.<br>
2. Otherwise, we should compare against the pre-incremented induction variable.<br>
<br>
Is there a reason why option number two isn't viable? I assumed that `IndVar` and `BackedgeTakenCount` would contain the correct values to compare.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D7137" target="_blank">http://reviews.llvm.org/D7137</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/settings/panel/emailpreferences/</a><br>
<br>
<br>
</blockquote></div>
</div></div></blockquote></div><br></div></div>