]> granicus.if.org Git - llvm/commit
[X86] Test SKX cpu in the vector-trunc-packus/ssat/usat.ll tests instad of min-legal...
authorCraig Topper <craig.topper@intel.com>
Sat, 12 Oct 2019 07:59:24 +0000 (07:59 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 12 Oct 2019 07:59:24 +0000 (07:59 +0000)
commit6e215a38ba0ce50f2fd7f08b377fc87b6087bbab
tree301ac425c35ca87598d724beca568155bb16e19f
parentfd552eede5752d63f0b5efea69da774c0e6c1881
[X86] Test SKX cpu in the vector-trunc-packus/ssat/usat.ll tests instad of min-legal-vector-width.ll

This adds "min-legal-vector-width"="256" function attributes to
all the tests for a larger than 256-bit input. Also switch any
larger than 512-bit inputs to use a load. This makes the
arguments consistent with min-legal-vector-width attribute which
should usually be at least as large as the arguments.

The SKX configuration will avoid using zmm registers on the
modified test cases. For many of them we should use something
closer to the AVX2 codegen with pack instructions instead of
the avx512 saturating truncates.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374642 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/min-legal-vector-width.ll
test/CodeGen/X86/vector-trunc-packus.ll
test/CodeGen/X86/vector-trunc-ssat.ll
test/CodeGen/X86/vector-trunc-usat.ll