diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-01-09 22:03:19 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-01-09 22:03:19 +0000 |
| commit | ec1f2c2cab6d00f7193c335ac06b984bb0c480e6 (patch) | |
| tree | d073c8ec67ea684a1ae2b972ad8d4ce13620643e /llvm/lib/Target/TargetIntrinsicInfo.cpp | |
| parent | 0512bd75f7f49fd94b2417923d8632a6fb13b2f4 (diff) | |
| download | bcm5719-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/TargetIntrinsicInfo.cpp')
0 files changed, 0 insertions, 0 deletions

