summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetSubtargetInfo.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-01-09 22:03:19 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-01-09 22:03:19 +0000
commitec1f2c2cab6d00f7193c335ac06b984bb0c480e6 (patch)
treed073c8ec67ea684a1ae2b972ad8d4ce13620643e /llvm/lib/Target/TargetSubtargetInfo.cpp
parent0512bd75f7f49fd94b2417923d8632a6fb13b2f4 (diff)
downloadbcm5719-llvm-ec1f2c2cab6d00f7193c335ac06b984bb0c480e6.tar.gz
bcm5719-llvm-ec1f2c2cab6d00f7193c335ac06b984bb0c480e6.zip
[X86][SSE] Avoid vector byte shuffles with zero by using pshufb to create zeros
pshufb can shuffle in zero bytes as well as bytes from a source vector - we can use this to avoid having to shuffle 2 vectors and ORing the result when the used inputs from a vector are all zeroable. Differential Revision: http://reviews.llvm.org/D6878 llvm-svn: 225551
Diffstat (limited to 'llvm/lib/Target/TargetSubtargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud