summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/AutoUpgrade.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-09-30 16:44:39 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2015-09-30 16:44:39 +0000
commit0594e2a1e94800dd74c9f12ef3af88c7cb87a10b (patch)
tree2ff6a3f87555328cd5fa98ef7df889e7af9dcf80 /llvm/lib/IR/AutoUpgrade.cpp
parent9a2ef281bcbb52f358d95d666153dcd1a93544b1 (diff)
downloadbcm5719-llvm-0594e2a1e94800dd74c9f12ef3af88c7cb87a10b.tar.gz
bcm5719-llvm-0594e2a1e94800dd74c9f12ef3af88c7cb87a10b.zip
[InstCombine] Teach how to convert SSSE3/AVX2 byte shuffles to builtin shuffles if the shuffle mask is constant.
This patch teaches InstCombiner how to convert a SSSE3/AVX2 byte shuffle to a builtin shuffle if the mask is constant. Converting byte shuffle intrinsic calls to builtin shuffles can help finding more opportunities for combining shuffles later on in selection dag. We may end up with byte shuffles with constant masks as the result of inlining. Differential Revision: http://reviews.llvm.org/D13252 llvm-svn: 248913
Diffstat (limited to 'llvm/lib/IR/AutoUpgrade.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud