[X86][SSE] combineTruncateWithSat - use truncateVectorWithPACK to chain PACKUS vXi32-vXi8 saturated truncation

We can use PACKSS/PACKUS to saturate each stage of the chain: PACKSSDW down to [-32768,32767] and then PACKUSWB to [0,255].

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325243 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed