[PATCH] D25524: [DAGCombine] Preserve shuffles when one of the vector operands is constant

Zvi Rackover via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 22 11:38:27 PDT 2016


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

Removed the check for undef from isAnyConstantBuildVector()


Repository:
  rL LLVM

https://reviews.llvm.org/D25524

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/vector-shuffle-combining.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25524.75533.patch
Type: text/x-patch
Size: 11151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161022/fb5e053a/attachment.bin>


More information about the llvm-commits mailing list