summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/BBVectorize.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-03-21 13:50:33 +0000
committerSanjay Patel <spatel@rotateright.com>2017-03-21 13:50:33 +0000
commit79379cae157df2c9a840810fb2d432d8d46d7ef5 (patch)
tree54e0b462ec143428315ef1f20c0fd32408be9000 /llvm/lib/Transforms/Vectorize/BBVectorize.cpp
parente3ad2e2e73983966b5b84293a0f501e409abddde (diff)
downloadbcm5719-llvm-79379cae157df2c9a840810fb2d432d8d46d7ef5.tar.gz
bcm5719-llvm-79379cae157df2c9a840810fb2d432d8d46d7ef5.zip
[x86] use PMOVMSK for vector-sized equality comparisons
We could do better by splitting any oversized type into whatever vector size the target supports, but I left that for future work if it ever comes up. The motivating case is memcmp() calls on 16-byte structs, so I think we can wire that up with a TLI hook that feeds into this. Differential Revision: https://reviews.llvm.org/D31156 llvm-svn: 298376
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/BBVectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud