summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-11-03 11:33:48 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-11-03 11:33:48 +0000
commitae1f0134954fd267bc030b7f690db69e53aa66cb (patch)
tree56d8fa085db420df686b00d7f9d8de4b70d510d9 /llvm/lib/CodeGen/CodeGen.cpp
parent41e32bfd6880ee74b68436772bf16aad05272e0f (diff)
downloadbcm5719-llvm-ae1f0134954fd267bc030b7f690db69e53aa66cb.tar.gz
bcm5719-llvm-ae1f0134954fd267bc030b7f690db69e53aa66cb.zip
[X86][SSE] Add PACKUS support to combineVectorTruncation
Similar to the existing code to lower to PACKSS, we can use PACKUS if the input vector's leading zero bits extend all the way to the packed/truncated value. We have to account for pre-SSE41 targets not supporting PACKUSDW llvm-svn: 317315
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud