[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)
commit85a1f5c20ccb6941047091d3480860f87c72c5a0
tree6844a503191009e21101df0b2f93022335c4f20f
parent99a66390473f9ce57141fce34cf1446e1ca78a18
[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.

llvm-svn: 287503
llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll
llvm/test/CodeGen/X86/vector-shuffle-512-v8.ll
llvm/test/CodeGen/X86/vector-shuffle-masked.ll [new file with mode: 0644]