<div dir="ltr">If you only handle full redundancy, you'll have to explicitly comment out the code in processNonLocalLoad.<div>It does not consider full availability phi insertion to be load PRE.</div><div><br></div><div>(GVN.cpp:1761)</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 22, 2016 at 11:42 AM, Adam Nemet <span dir="ltr"><<a href="mailto:anemet@apple.com" target="_blank">anemet@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">anemet added a comment.<br>
<span class=""><br>
In <a href="http://reviews.llvm.org/D16300#333762" rel="noreferrer" target="_blank">http://reviews.llvm.org/D16300#333762</a>, @dberlin wrote:<br>
<br>
> Out of curiosity, have you tried the pass with load pre disabled?<br>
<br>
<br>
</span>Thanks!  You're making me curious too, I'll do a run.  Obviously we only handle full redundancy and no ld->ld but it should be interesting to see how far we are.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D16300" rel="noreferrer" target="_blank">http://reviews.llvm.org/D16300</a><br>
<br>
<br>
<br>
</blockquote></div><br></div>