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

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 9 09:39:36 PDT 2017


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

Update according to Sanjay's comments. I updated the comments with some representative examples, but gave up on annotating the tests since after Isel it's hard to see from the text which elements were undef as we choose arbitrary values for undef elements.


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.98307.patch
Type: text/x-patch
Size: 7788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170509/3f11d598/attachment.bin>


More information about the llvm-commits mailing list