diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-03-21 13:50:33 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-03-21 13:50:33 +0000 |
commit | 79379cae157df2c9a840810fb2d432d8d46d7ef5 (patch) | |
tree | 54e0b462ec143428315ef1f20c0fd32408be9000 /llvm/lib/Transforms/Vectorize/BBVectorize.cpp | |
parent | e3ad2e2e73983966b5b84293a0f501e409abddde (diff) | |
download | bcm5719-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