]> granicus.if.org Git - llvm/commit
[AVX-512] Add tests for masked palignr/valignd/valignq shuffles, many of which show...
authorCraig Topper <craig.topper@gmail.com>
Sun, 20 Nov 2016 19:50:32 +0000 (19:50 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 20 Nov 2016 19:50:32 +0000 (19:50 +0000)
commitb19918a6916467f5adf98975fc388a8d8c73fdc0
treed8b9e27b5eac304dc9e1ac5ac1ac2596fdfbf4b1
parent57e555600b5f10c95e49ff513a7aca5a0d1400ff
[AVX-512] Add tests for masked palignr/valignd/valignq shuffles, many of which show failures to fold the masking into the operation.

Many of these problems are because shuffle lowering widens element size and reduces element count when possible. This causes the shuffle to become separated from the select by a bitcast. Future patches will work to improve these cases by rewriting the shuffle back to a narrow element type if we think it can result in folding the mask.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287503 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/vector-shuffle-512-v16.ll
test/CodeGen/X86/vector-shuffle-512-v8.ll
test/CodeGen/X86/vector-shuffle-masked.ll [new file with mode: 0644]