summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-diff/llvm-diff.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-09-18 09:00:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-09-18 09:00:25 +0000
commit9057fcaf8260166973727fba49b90a01c8476e3b (patch)
tree497758a968ecbc966d192c8448092715158e5b04 /llvm/tools/llvm-diff/llvm-diff.cpp
parent0fe4928fbe3a2cdf21efb54f39ee9e150e6bde7a (diff)
downloadbcm5719-llvm-9057fcaf8260166973727fba49b90a01c8476e3b.tar.gz
bcm5719-llvm-9057fcaf8260166973727fba49b90a01c8476e3b.zip
[x86] Use PALIGNR for v4i32 and v2i64 blends when appropriate.
There is no purpose in using it for single-input shuffles as pshufd is just as fast and doesn't tie the two operands. This removes a substantial amount of wrong-domain blend operations in SSSE3 mode. It also completes the usage of PALIGNR for integer shuffles and addresses one of the test cases Quentin hit with the new vector shuffle lowering. There is still the question of whether and when to use this for floating point shuffles. It is faster than shufps or shufpd but in the integer domain. I don't yet really have a good heuristic here for when to use this instruction for floating point vectors. llvm-svn: 218038
Diffstat (limited to 'llvm/tools/llvm-diff/llvm-diff.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud