commit | 17bb6f0755876354428e0b88926905ad6e631c1a | [log] [tgz] |
---|---|---|
author | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Feb 15 14:37:59 2018 +0000 |
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | Thu Feb 15 14:37:59 2018 +0000 |
tree | 3b9a5593da39064caa8f7d7b930f5e44048ff829 | |
parent | 23bc73b6263c77894785948c13e7a91416ec5783 [diff] |
[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]. llvm-svn: 325243