<div dir="ltr">Hi Chad,<div><br></div><div>We found this commit introduced a correctness problem on AArch64. Coremark is failed on performance test due to result miscompare, and 403.gcc in SPEC2006 got problem in run time.</div><div><br></div><div>I think it should be easy to reproduce those problems. Please have a look at this.</div><div><br></div><div>Thanks,</div><div>Kevin</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-18 19:12 GMT+00:00 Chad Rosier <span dir="ltr"><<a href="mailto:mcrosier@codeaurora.org" target="_blank">mcrosier@codeaurora.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the info, Suyong.  I'm pretty sure the change is trivially<br>
correct.  It's very likely this commit perturbed a lot of IR.  Prior to my<br>
recent commits the IR that was coming out of the pass was largely<br>
unordered.<br>
<span class="HOEnZb"><font color="#888888"><br>
 Chad<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> Hi Chad, Timur<br>
><br>
> Just wanted to make a point here.<br>
><br>
> This patch actually eased further transformations like SLP Vectoization.<br>
><br>
> Test case :<br>
><br>
> sum = a[0] + a[1] + a[2] + a[3]<br>
><br>
> Earlier, without this patch, re-associate pass would re-organize this<br>
> expression into<br>
><br>
> sum = (((a[1] + a[0]) + a[2]) + a[3])<br>
><br>
> which made SLP vectorizer difficult to identify this type of horizontal<br>
> reduction.<br>
> With this patch, the expression would remain<br>
><br>
> sum = (((a[0] + a[1]) + a[2]) + a[3])<br>
><br>
> which made SLP vectorizer task simpler.<br>
><br>
> Patch holds good value for further optimization passes,<br>
> though as Timur reports that its breaking some test cases.<br>
><br>
> --<br>
> With regards,<br>
> Suyog Sarda<br>
><br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Best Regards,<div><br></div><div>Kevin Qin</div></div></div>
</div>