[PATCH] D31156: [x86] use PMOVMSK for vector-sized equality comparisons

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 20 15:57:33 PDT 2017

spatel created this revision.
Herald added a subscriber: mcrosier.

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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31156.92392.patch
Type: text/x-patch
Size: 7560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170320/f7047ecb/attachment.bin>

More information about the llvm-commits mailing list