OSDN Git Service

[AVX-512] Add patterns to use a zero masked VPTERNLOG instruction for vselects of...
authorCraig Topper <craig.topper@gmail.com>
Mon, 9 Jan 2017 02:44:34 +0000 (02:44 +0000)
committerCraig Topper <craig.topper@gmail.com>
Mon, 9 Jan 2017 02:44:34 +0000 (02:44 +0000)
commit3612268cf23761100136e56e03a7a2205f3da56e
treeef2c0c2105eecb949bc0817c253e33538062199a
parentd9a8ccc22673c80adc9256bbf9c25ae6cd7d3c6c
[AVX-512] Add patterns to use a zero masked VPTERNLOG instruction for vselects of all ones and all zeros.

Previously we emitted a VPTERNLOG and a separate masked move.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291415 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/avx512-calling-conv.ll
test/CodeGen/X86/avx512-cvt.ll
test/CodeGen/X86/avx512-ext.ll
test/CodeGen/X86/avx512-insert-extract.ll
test/CodeGen/X86/avx512-mask-op.ll
test/CodeGen/X86/avx512-vbroadcast.ll
test/CodeGen/X86/avx512-vec-cmp.ll
test/CodeGen/X86/sse-fsignum.ll
test/CodeGen/X86/vector-compare-results.ll
test/CodeGen/X86/vector-sext.ll
test/CodeGen/X86/vector-shuffle-v1.ll