<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 16, 2015, at 2:23 PM, Chandler Carruth <<a href="mailto:chandlerc@google.com" class="">chandlerc@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Fri, Jan 16, 2015 at 2:22 PM, Fiona Glaser <span dir="ltr" class=""><<a href="mailto:fglaser@apple.com" target="_blank" class="">fglaser@apple.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><div class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><div class="gmail_extra">Please use the same tetsing strategy as the vector-shuffle-{128,256,512}-*.ll test files. This has made it *much* easier to understand the feature sets tested and how we generate code for each operation.</div></div></div></blockquote></div><br class=""></span><div class="">So, going by vector-shuffle-256, I should do something like:</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-size:11px;font-family:Menlo" class="">; RUN: llc < %s -mcpu=x86-64 -mattr=+avx | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX1</div><div style="margin:0px;font-size:11px;font-family:Menlo" class="">; RUN: llc < %s -mcpu=x86-64 -mattr=+avx2 | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX2</div><div style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px" class=""><br class=""></div><div style="margin:0px;font-size:11px;font-family:Menlo" class="">target triple = "x86_64-unknown-unknown”</div></div><div style="margin:0px;font-size:11px;font-family:Menlo" class=""><br class=""></div><div style="margin:0px;font-size:11px;font-family:Menlo" class="">that?</div><div class="yj6qo ajU"><div id=":7nt" class="ajR" tabindex="0"></div></div></blockquote></div><br class="">That's my preference, yes.</div></div>
</div></blockquote><br class=""></div><div><div>Is this okay? I omitted the prefix stuff because both AVX and AVX2 should generate identical output in this test.</div><div><br class=""></div><div>Fiona</div><div><br class=""></div><div></div></div></body></html>