]> granicus.if.org Git - llvm/commit
[X86][AVX512] Adding missing shuffle lowering to blend mask instructions
authorMichael Zuckerman <Michael.zuckerman@intel.com>
Fri, 13 Jan 2017 09:06:00 +0000 (09:06 +0000)
committerMichael Zuckerman <Michael.zuckerman@intel.com>
Fri, 13 Jan 2017 09:06:00 +0000 (09:06 +0000)
commita3c8656715404a69cc3fe3eeebd5e32e4acec188
treeb46a80c0894a200633415113f0333e4052665774
parentcd9ca6ae970062f7839e07689590411d67a495fc
[X86][AVX512] Adding missing shuffle lowering to blend mask instructions

Some shuffles can be lowered to blend mask instruction (VPBLENDMB/VPBLENDMW/VPBLENDMD/VPBLENDMQ) .
In this patch, I added new pattern match for this case.

Reviewers:
1. craig.topper
2. guyblank
3. RKSimon
4. igorb

Differential Revision: https://reviews.llvm.org/D28483

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291888 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avx512-mask-op.ll
test/CodeGen/X86/merge-consecutive-loads-512.ll
test/CodeGen/X86/sse3-avx-addsub.ll
test/CodeGen/X86/vector-shuffle-128-v16.ll
test/CodeGen/X86/vector-shuffle-256-v16.ll
test/CodeGen/X86/vector-shuffle-256-v32.ll
test/CodeGen/X86/vector-shuffle-512-v16.ll
test/CodeGen/X86/vector-shuffle-512-v32.ll
test/CodeGen/X86/vector-shuffle-512-v8.ll
test/CodeGen/X86/vector-shuffle-avx512.ll