commit | 6671a9d78f1611d8a3be0ece6dc08de32e63bcf1 | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Feb 15 13:33:15 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Feb 15 13:33:15 2018 +0000 |
tree | b714c72d90df97bb4f4befd3a6e8326322529e3d | |
parent | 032b42a4b9aae1fc35cf4a611581943b0eb2e24f [diff] |
[X86][SSE] combineTruncateWithSat - use truncateVectorWithPACK to chain PACKSS vXi32-vXi8 saturated truncation We can use PACKSS to saturate each stage of the chain: PACKSSDW down to [-32768,32767] and then PACKSSWB to [-128,127]. PACKUS is a little trickier and will be handled in a separate patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325235 91177308-0d34-0410-b5e6-96231b3b80d8