<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>
<div class="gmail_quote">On Jan 23, 2015 2:14 AM, "David Majnemer" <<a href="mailto:david.majnemer@gmail.com">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>