[X86] Remove some dead code and combine some repeated code that's left.
authorCraig Topper <craig.topper@intel.com>
Thu, 15 Aug 2019 04:07:43 +0000 (04:07 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 15 Aug 2019 04:07:43 +0000 (04:07 +0000)
commit14f7560020ca4c678b52f457e32518be16436dfb
tree6879969b900a15e4dde1817e850b089fc4145e11
parentd24e9eb9d2a692573bc78d0e4420720bc9216c20
[X86] Remove some dead code and combine some repeated code that's left.

If the width is 256 bits, then we must have AVX so the else here
was unnecessary. Once that's removed then the >= 256 bit code is
identical to the 128 bit code with a different VT so combine them.

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