[PATCH] D74495: [VectorCombine] try to form vector binop to eliminate an extract element

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 11:01:14 PST 2020


spatel updated this revision to Diff 244223.
spatel marked 2 inline comments as done.
spatel added a comment.

Patch updated:

1. Added check and test for matching vector types.
2. Added test with extracts from common vector operand.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74495/new/

https://reviews.llvm.org/D74495

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/VectorCombine/X86/extract-binop.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74495.244223.patch
Type: text/x-patch
Size: 8837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200212/662ae132/attachment.bin>


More information about the llvm-commits mailing list