[X86][SSE] Add PACKUS support for truncation of clamped values
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Feb 2018 14:07:46 +0000 (14:07 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 6 Feb 2018 14:07:46 +0000 (14:07 +0000)
commitae00a71f55ca7cfcefc43f5da738efed6f7c057b
tree97564c773349f9a0058f0860e5d0b6486ae89434
parent807ecc3d6670e9c83c4d8dde513b0dddca17356f
[X86][SSE] Add PACKUS support for truncation of clamped values

Followup to D42544 that matches PACKUSWB cases for non-AVX512, SSE and PACKUSDW cases will have to wait until we can add support for general SMIN/SMAX matching.

llvm-svn: 324347
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/vector-trunc-packus.ll