<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 12, 2015 at 9:07 PM, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> would visit it many times and accumulate "savings" each time.<br>
<br>
</span>I thought the check against CountedInstructions prevented this?<br>
<br>
    if (SimpleV && CountedInstructions.insert(&I).second)<br>
      NumberOfOptimizedInstructions += TTI.getUserCost(&I);<br>
<br>
<br>
 -Hal</blockquote></div><br>Ah, yes. It fixed the double count issues, just not the visitation issues.</div></div>