[PATCH] D31961: DAGCombine: Combine shuffles of splat-shuffles

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 8 05:42:36 PDT 2017


zvi updated this revision to Diff 98157.
zvi added a comment.

Restructure in spirit of Sanjay's proposal: first try to identify cases where we can return the splat-shuffle itself, if not, build a new shuffle mask and create a new shuffle node.


https://reviews.llvm.org/D31961

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/shuffle-of-splat-multiuses.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31961.98157.patch
Type: text/x-patch
Size: 6892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170508/191cc2bf/attachment.bin>


More information about the llvm-commits mailing list