[PATCH] D43367: [X86] Turn selects with constant condition into vector shuffles during DAG combine

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 16 13:56:19 PST 2018


craig.topper updated this revision to Diff 134715.
craig.topper added a comment.

Treat undef as selecting the RHS. This removed the change from vselect.ll

Some of the other changes look to be using an inverted mask with swapped operands.


https://reviews.llvm.org/D43367

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/fold-vector-sext-crash.ll
  test/CodeGen/X86/pr34592.ll
  test/CodeGen/X86/vector-blend.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43367.134715.patch
Type: text/x-patch
Size: 10090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/6dcd2dda/attachment.bin>


More information about the llvm-commits mailing list