[X86] Remove isTypePromotionOfi1ZeroUpBits and its helpers.
authorCraig Topper <craig.topper@intel.com>
Wed, 26 Jun 2019 19:45:48 +0000 (19:45 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 26 Jun 2019 19:45:48 +0000 (19:45 +0000)
commitafa58b6ba19a54e6fd41ab3994e114f0f6bcb239
treef1c2499b1b9474ac1dbde2470444de27b1691606
parent600941e34fed7fbbc68b3380ea1f63b28809035f
[X86] Remove isTypePromotionOfi1ZeroUpBits and its helpers.

This was trying to optimize concat_vectors with zero of setcc or
kand instructions. But I think it produced the same code we
produce for a concat_vectors with 0 even it it doesn't come from
one of those operations.

llvm-svn: 364463
llvm/lib/Target/X86/X86ISelLowering.cpp