[X86] Turn an if condition that should always be true into an assert. NFCI
commit0f8ae43eea3c7fc87fda8d762cbb9f128f5209fa
authorCraig Topper <craig.topper@intel.com>
Thu, 23 Nov 2017 03:24:01 +0000 (23 03:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 23 Nov 2017 03:24:01 +0000 (23 03:24 +0000)
treece6a88298496e97c32afd9b08224690b1fdf1f0d
parentbdbb85a1540f6dd15c37f6259eb67d0056f19e20
[X86] Turn an if condition that should always be true into an assert. NFCI

If Values.size() == 0, we should have returned 0 or undef earlier. If it was 1, it's a splat and we already handled that too.

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