[PATCH] D56421: [X86] Call SimplifyDemandedBits on conditions of X86ISD::SHRUNKBLEND

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 9 14:12:41 PST 2019


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

Reuse combineVSelectToShrunkBlend. This reduces the code and should allow better optimization when the select condition is used by multiple selects.


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

https://reviews.llvm.org/D56421

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx2-logic.ll
  test/CodeGen/X86/vector-reduce-smax.ll
  test/CodeGen/X86/vector-reduce-smin.ll
  test/CodeGen/X86/vector-reduce-umax.ll
  test/CodeGen/X86/vector-reduce-umin.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56421.180930.patch
Type: text/x-patch
Size: 15698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190109/c88ee119/attachment.bin>


More information about the llvm-commits mailing list