[X86] Allow VPMAXUQ/VPMAXSQ/VPMINUQ/VPMINSQ to be used with 128/256 bit vectors when...
commit6941e2428a740e733c5eccbe22e27e56d41563af
authorCraig Topper <craig.topper@intel.com>
Mon, 4 Dec 2017 07:21:01 +0000 (4 07:21 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 4 Dec 2017 07:21:01 +0000 (4 07:21 +0000)
tree893cc84875a6afdc36f4c24b5952cb03aca74885
parenta612122b850a3ffe00c5cb215534122089d5a3b9
[X86] Allow VPMAXUQ/VPMAXSQ/VPMINUQ/VPMINSQ to be used with 128/256 bit vectors when AVX512 is enabled.

These instructions can be used by widening to 512-bits and extracting back to 128/256. We do similar to several other instructions already.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrAVX512.td
test/CodeGen/X86/vec_cmp_uint-128.ll
test/CodeGen/X86/vec_minmax_sint.ll
test/CodeGen/X86/vec_minmax_uint.ll