[PATCH] D40209: [DAGCombiner] eliminate shuffle of insert element

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 28 09:20:20 PST 2017


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

Patch updated:

1. Added TODO comment to check for undef shuffle mask elements.
2. Added TODO comment to extend the search for a scalar element.


https://reviews.llvm.org/D40209

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/shuffle-of-insert.ll
  test/CodeGen/X86/sse41.ll
  test/CodeGen/X86/vector-shuffle-128-v2.ll
  test/CodeGen/X86/vector-shuffle-combining.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40209.124591.patch
Type: text/x-patch
Size: 20731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171128/a615053a/attachment.bin>


More information about the llvm-commits mailing list