<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

This patch disables the counters on non-debug builds. This reduces the runtime of SelectionDAGISel::SelectCodeCommon by ~5%.<br></blockquote><div><br></div><div style>Hey, good idea. Wonder if we should do this in general and make statistics gathering dependent upon NDEBUG?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
-      unsigned NumFastIselRemaining = std::distance(Begin, End);<br>
+      unsigned NumFastIselRemaining = 0;<br>
+      NumFastIselRemaining = std::distance(Begin, End);<br>
</blockquote><div><br></div><div style>Eh?</div><div> </div><div style>-eric</div></div></div></div>