[PATCH] D27787: Don't combine a shuffle of two BUILD_VECTORs in general.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 15 11:16:31 PST 2016


efriedma updated this revision to Diff 81622.
efriedma added a comment.

More "conservative" patch.  This just tries to specifically detect splat-ish cases.

Not sure this actually covers every interesting case, but I don't have any other ideas.


Repository:
  rL LLVM

https://reviews.llvm.org/D27787

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/ARM/vtrn.ll
  test/CodeGen/ARM/vzip.ll
  test/CodeGen/X86/oddshuffles.ll
  test/CodeGen/X86/vector-shuffle-128-v16.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27787.81622.patch
Type: text/x-patch
Size: 23503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161215/874323e3/attachment.bin>


More information about the llvm-commits mailing list