OSDN Git Service

[AVX-512] Add pattern for selecting masked version of v8i32/v8f32 compare instruction...
authorCraig Topper <craig.topper@intel.com>
Sun, 24 Sep 2017 05:24:52 +0000 (05:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 24 Sep 2017 05:24:52 +0000 (05:24 +0000)
commit213f7476549cce91b39e313cdac44c9200ea1639
tree37b8ca9f69e101e84222d687ef67768ead1bb9a7
parent3122050e4b04fa2c5eedcd327853990051bebcb5
[AVX-512] Add pattern for selecting masked version of v8i32/v8f32 compare instructions when VLX isn't available.

We use a v16i32/v16f32 compare instead and truncate the result. We already did this for the unmasked version, but were missing the version with 'and'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
test/CodeGen/X86/avx512vl-vec-cmp.ll
test/CodeGen/X86/avx512vl-vec-masked-cmp.ll