aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-02-14 18:23:58 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-02-14 18:23:58 +0000
commit2ec8373633af92a0c07adde6bac43fc54b24c42b (patch)
tree307f9cfe8c6409b27c4e614387ae06708bd1edbd /llvm/lib/Transforms/Utils/CloneModule.cpp
parent1c19cc174530dabf376cefcce98a16c8e85683fa (diff)
downloadllvm-2ec8373633af92a0c07adde6bac43fc54b24c42b.zip
llvm-2ec8373633af92a0c07adde6bac43fc54b24c42b.tar.gz
llvm-2ec8373633af92a0c07adde6bac43fc54b24c42b.tar.bz2
[X86][SSE] truncateVectorWithPACK - Use src type instead of dst to select between PACK*SDW/PACK*SWB
Try to keep PACK*SDW/PACK*SWB as wide as possible, this helps ComputeNumSignBits as it can only peek through bitcasts to wider types, pre-AVX2 codegen was already doing this as it could peek through bitcasts/subvectors more easily than AVX2 could through shuffles. This shouldn't affect existing results as calls to truncateVectorWithPACK ensure we have enough sign bits to pack to the same value, but it should make it possible to use truncateVectorWithPACK chains to perform saturation in combineTruncateWithSat with a future patch. llvm-svn: 325149
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions