| commit | f5f291d12915265012ea3cd44d1f749e3c8e32c9 | [log] [tgz] |
|---|---|---|
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Oct 03 12:01:31 2017 +0000 |
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Tue Oct 03 12:01:31 2017 +0000 |
| tree | f850255a618df905376fbeb029e65e0940af4226 | |
| parent | d3558b5d5e6c834c28ec208f9fba9e5ef2711b10 [diff] |
[X86][SSE] Add support for lowering shuffles to PACKSS/PACKUS If the upper bits of a truncation shuffle patterns have at least the minimum number of sign/zero bits on their inputs then we can safely use PACKSS/PACKUS as shuffles. Partial fix for https://bugs.llvm.org/show_bug.cgi?id=34773 Differential Revision: https://reviews.llvm.org/D38472 llvm-svn: 314788