[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...
Size: 7560 bytes
Desc: not available
More information about the llvm-commits