<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 12:47 AM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class=""><div class="gmail_quote">On Thu, Jan 8, 2015 at 10:11 PM, <span class="">Adam</span> <span class="">Nemet</span> <span dir="ltr"><<a href="mailto:anemet@apple.com" target="_blank">anemet@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">The change should be obvious.  For the test, I decided to start resurrecting<br>
(and extending) avx512-shuffle.ll.  This was removed when the new shuffle<br>
lowering was made default.<br>
<br>
We could also add these to vector-shuffle-512-v8.ll but I think those are<br>
somehow generated with Chandler's fuzzer, so I decided against it.<br>
<br>
Chandler, is this reasonable?</div></blockquote></div><br></div></div>My inclination would be to follow the testing structure of vector-shuffle-512-v8.ll and extend it. Those aren't generated by my fuzzer directly. I have a number of scripts that help generate these style of test cases some I have mailed out (shufle_test_gen.py) but never really got consensus on submitting (its terrible python code I'm afraid). I also have a script that takes an existing test of the form of these shuffle tests and re-computes the file-check portions. I can mail that out if I haven't already.</blockquote></div><br>I did mail this out, and I just updated it and pinged it: <a href="http://reviews.llvm.org/D5546">http://reviews.llvm.org/D5546</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">My script to generate test cases is, IMO, much less important than using this script to compute very predictable diffs between the asm generated.</div><div class="gmail_extra"><br></div></div>