[PATCH] D41618: [x86] allow pairs of PCMPEQ for vector-sized integer equality comparisons (PR33325)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 1 09:21:20 PST 2018

spatel updated this revision to Diff 128389.
spatel added a comment.

Patch updated:

1. Fixed the check for 'IsOrXorXor'; we must confirm that the 2nd operand ('Y') of the setcc is actually a zero.
2. Added runs / checks for more ISA variations to show that we're behaving as expected in those cases. Note that we do not expect to produce 'i256' types via memcmp expansion for anything before AVX2, so I don't think we care about optimizing those cases (the last 2 tests just show the legal scalar code in that scenario).



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41618.128389.patch
Type: text/x-patch
Size: 13822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180101/30e39dc6/attachment-0001.bin>

More information about the llvm-commits mailing list