]> granicus.if.org Git - llvm/commit
Merging r370592:
authorHans Wennborg <hans@hanshq.net>
Mon, 9 Sep 2019 09:48:38 +0000 (09:48 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 9 Sep 2019 09:48:38 +0000 (09:48 +0000)
commite29983e04407b9fabc807120319474a8729abb52
tree20d922b94d1e75bb5f33b1080f277282be34fa92
parent43cd83ba3b040197757a2882c619aff9260c3887
Merging r370592:
------------------------------------------------------------------------
r370592 | rksimon | 2019-08-31 18:21:31 +0200 (Sat, 31 Aug 2019) | 3 lines

[X86] EltsFromConsecutiveLoads - Don't confuse elt count with vector element count (PR43170)

EltsFromConsecutiveLoads was assuming that the number of input elts was the same as the number of elements in the output vector type when creating a zeroing shuffle, causing an assert when subvectors were being combined instead of just scalars.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_90@371382 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-shuffle-avx512.ll