[PATCH] D16828: [x86] convert masked store of one element to scalar store

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 12:22:18 PST 2016

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

Patch updated:

1. Converted getOneTrueElt() into a lambda.
2. Added TODO comment about hoisting this to DAGCombiner.
3. Added TODO comment about supporting other mask types (but if we do, what is the format for those masks?)
4. Added test cases to demonstrate extraction from different types, high elements, and different sizes of vectors.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16828.46812.patch
Type: text/x-patch
Size: 9897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160203/32d96c52/attachment.bin>

More information about the llvm-commits mailing list