[X86] Remove check that avoids creating PMULDQ with illegal types. Rely on SplitOpsAn...
authorCraig Topper <craig.topper@intel.com>
Thu, 27 Dec 2018 03:37:04 +0000 (03:37 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 27 Dec 2018 03:37:04 +0000 (03:37 +0000)
commit787ad92bf630ae03765c7f9c28bafe3d63f0b3b4
tree32ab19ae1a3ac4a03b0271c892e1b130b2b0a287
parent772bf988cfdbc6dcf3b4082f77f6d972f844b9f0
[X86] Remove check that avoids creating PMULDQ with illegal types. Rely on SplitOpsAndApply to legalize it.

Create PMULDQ/PMULUDQ as long as the number of elements is a power of 2.

This seems to give some improvements in our ability to use SimplifyDemandedBits.

llvm-svn: 350084
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/mulvi32.ll