]> granicus.if.org Git - llvm/commit
[X86] Call SimplifyDemandedBits on conditions of X86ISD::SHRUNKBLEND
authorCraig Topper <craig.topper@intel.com>
Thu, 10 Jan 2019 19:05:34 +0000 (19:05 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 10 Jan 2019 19:05:34 +0000 (19:05 +0000)
commit288df965703c687487632f5119f2b82c99f7058a
treef58c88921185068500e782cffebda97ec4b30256
parent47f150c32d34506db8e5d09e5d87db2e132765d8
[X86] Call SimplifyDemandedBits on conditions of X86ISD::SHRUNKBLEND

This extends to combineVSelectToShrunkBlend to be able to resimplify SHRUNKBLENDS that have already been created.

This should help some of the regressions from D56387

Differential Revision: https://reviews.llvm.org/D56421

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350875 91177308-0d34-0410-b5e6-96231b3b80d8
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