OSDN Git Service

[X86][AVX] Ensure EltsFromConsecutiveLoads tests the entire vector for consecutive...
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 30 Mar 2016 20:52:24 +0000 (20:52 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 30 Mar 2016 20:52:24 +0000 (20:52 +0000)
commit8f62cbea768a034ab79719ada26a993899fe2ad6
treec6666d9e0576a551cf29dd90d1dd671fb0c0a488
parent6feb1718ed73f29d2d9dc54a3d152e79a755a4c4
[X86][AVX] Ensure EltsFromConsecutiveLoads tests the entire vector for consecutive loads/zeros

Fix for issue introduced D17297, where we were breaking early from the loop detecting consecutive loads which could leave us thinking a consecutive load with zeros was possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264922 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/merge-consecutive-loads-128.ll