<div dir="ltr">FWIW: if we want reassociate solely for the purpose of "better CSE", and in particular, by either GVN or EarlyCSE, you may be better off moving it into those passes.<div><br></div><div>Reassociate essentially flies blind. It tries to canonicalize to some  thing, hoping that this is the thing that exposes the most redundancies.</div><div><br></div><div>EarlyCSE/GVN know what is already redundant and what is not, and can evaluate whether reassociating actually enables an elimination or not.</div><div><br></div><div>They can also incorporate forward propagation, etc.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 17, 2016 at 10:29 AM, Chad Rosier via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mcrosier abandoned this revision.<br>
mcrosier added a comment.<br>
<br>
Neither Eli or I are particularly thrilled with this solution and Eli convinced me reverting r258830 would fix the regression.  Therefore, I'm abandoning this change and have reverted r258830 in r278938.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<a href="https://reviews.llvm.org/D23464" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D23464</a><br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>