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

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 14:46:04 PST 2017


spatel updated this revision to Diff 125818.
spatel added a comment.

Patch updated:
Offline, @RKSimon noted that Mask could point to CommutedMask after it has gone out-of-scope, so I moved that out of the 'if' clause.


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.125818.patch
Type: text/x-patch
Size: 20778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171206/cb8a60be/attachment.bin>


More information about the llvm-commits mailing list