<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 12, 2013 at 2:52 AM, Wan, Xiaofei <span dir="ltr"><<a href="mailto:xiaofei.wan@intel.com" target="_blank" class="cremed">xiaofei.wan@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry, we discussed it privately to get quick response, see emails attached.</span></p></div></div>
</blockquote><div><br></div><div>Sure.</div><div><br></div><div>Andy, in the future if code review is taking place over email, please keep it on the list. It is much healthier for the community and avoids confusion like this.</div>
<div><br></div><div>Wan Xiaofei, when stuff is discussed in person or for whatever reason accidentally ends up off-list, it is useful to add at least a note to the commit log or to the original review thread for other members of the community just so we can have a heads up or summary of the discussion.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Wan Xiaofei<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Chandler Carruth [mailto:<a href="mailto:chandlerc@google.com" target="_blank" class="cremed">chandlerc@google.com</a>]
<br>
<b>Sent:</b> Tuesday, November 12, 2013 5:56 PM<br>
<b>To:</b> Wan, Xiaofei<br>
<b>Cc:</b> Commit Messages and Patches for LLVM<br>
<b>Subject:</b> Re: [llvm] r194459 - Change data structure to memorize computed result in ScalarEvolution<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Nov 12, 2013 at 1:40 AM, Wan Xiaofei <<a href="mailto:xiaofei.wan@intel.com" target="_blank" class="cremed">xiaofei.wan@intel.com</a>> wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">Author: xiaofei.wan<br>
Date: Tue Nov 12 03:40:41 2013<br>
New Revision: 194459<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=194459&view=rev" target="_blank" class="cremed">
http://llvm.org/viewvc/llvm-project?rev=194459&view=rev</a><br>
Log:<br>
Change data structure to memorize computed result in ScalarEvolution<br>
<br>
Replace std::map with SmallVector to memorize the cached result since <span>
SCEV</span> usually belongs to little Loop/BB<br>
Linear scan on SmallVector is faster than std::map.<br>
<br>
Code reviewer : Andrew Trick.<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
Please revert this.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Andy never reviewed this on the mailing list. Hal gave one comment, which you replied to, and no updates to the code review thread have occurred. There was no code review or LGTM. =/ I really like the idea of this patch, but you can't just
 bypass the code review process like this!<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div></div>