<p dir="ltr">Will look at the code shortly, but can you benchmark a more typical target's tablegen runs as well just to make sure we're not making a bad tradeoff here? Similarly, how does it do in debug+asserts builds which are frustratingly common?</p>
<div class="gmail_quote">On Jan 30, 2015 11:03 AM, "Owen Anderson" <<a href="mailto:resistor@mac.com">resistor@mac.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi chandlerc,<br>
<br>
This is a continuation of my prior work to move some of the inner workings for CodeGenRegister to use bit vectors when computing about register units. This is highly beneficial to TableGen runtime on targets with large, dense register files. This patch represents a ~40% runtime reduction over and above my earlier improvement on a stress test of this case.<br>
<br>
REPOSITORY<br>
rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D7301" target="_blank">http://reviews.llvm.org/D7301</a><br>
<br>
Files:<br>
utils/TableGen/CodeGenRegisters.cpp<br>
utils/TableGen/CodeGenRegisters.h<br>
utils/TableGen/RegisterInfoEmitter.cpp<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>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div>