<div dir="ltr">FWIW I'm not such a huge fan of using register pressure heuristics in the middle end, it has a tendency to hide code gen deficiencies or be suboptimal in cases where we could do better if we did the optimization and let code generation fold things together/MachineLICM/etc. I understand where the desires come from, but if possible I like to optimize as hard as we can in the middle end and clean it up using machine optimizations.<div><br></div><div>Yes, I know this isn't always practical, but...</div><div><br></div><div>-eric<br><br><div class="gmail_quote">On Thu Jan 22 2015 at 9:43:44 PM <a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a> <<a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I agree, this needs a register-pressure threshold. Also, I thought that the loop vectorizer would also perform this transformation as part of its interleaved unrolling capability. Does it not? If not, perhaps it really belongs there (and the vectorizer already has register pressure heuristics)?<br>
<br>
<br>
<a href="http://reviews.llvm.org/D7128" target="_blank">http://reviews.llvm.org/D7128</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">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/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote></div></div></div>