[PATCH] D22114: [InstCombine] extend vector select matching for non-splat constants

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 15:14:52 PDT 2016


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

Patch updated:

1. Added FIXME to handle undef elements for non-splat constant vectors.
2. Added testcase for multiple-uses of the non-splat mask vectors.
3. Ahead of this patch, limited the transform for multiple-use scenarios in:

http://reviews.llvm.org/rL274926
http://reviews.llvm.org/rL274932


http://reviews.llvm.org/D22114

Files:
  lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  test/Transforms/InstCombine/logical-select.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22114.63327.patch
Type: text/x-patch
Size: 6913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160708/22d5efa1/attachment.bin>


More information about the llvm-commits mailing list