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

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 7 17:00:19 PST 2019


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

There can be additional simplifications after VSELECT is converted to SHRUNKBLEND. So we should call SimplifyDemandedBits

This should help some of the regressions from D56387 <https://reviews.llvm.org/D56387>


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.180588.patch
Type: text/x-patch
Size: 10510 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190108/c8eefab9/attachment.bin>


More information about the llvm-commits mailing list