[PATCH] D75348: [DAGCombiner] recognize shuffle (shuffle X, Mask0), Mask --> splat X

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 09:01:33 PST 2020


spatel updated this revision to Diff 247285.
spatel marked 4 inline comments as done.
spatel added a comment.

Patch updated:

1. Added shuffle mask legality check.
2. Improved variable names/logic.
3. Added assert for types.


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

https://reviews.llvm.org/D75348

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/arm64-dup.ll
  llvm/test/CodeGen/X86/vector-reduce-mul.ll
  llvm/test/CodeGen/X86/x86-interleaved-access.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75348.247285.patch
Type: text/x-patch
Size: 11345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/d378c94c/attachment.bin>


More information about the llvm-commits mailing list