]> granicus.if.org Git - llvm/commit
[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)
commit47120bd362bb3f5e2c10f0fa032e00ba873cc8e7
treea5d045c863b11405f730ac9dab8fc772cd448b66
parentd91aaf6ee55c65c6e35fcf7ad9e62ffe4a68aa0c
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368956 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp