mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Revert a part of r186420. Don't forbid multiple store chains that merge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186786 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1700,10 +1700,8 @@ bool SLPVectorizer::vectorizeStores(ArrayRef<StoreInst *> Stores,
|
||||
// Do a quadratic search on all of the given stores and find
|
||||
// all of the pairs of stores that follow each other.
|
||||
for (unsigned i = 0, e = Stores.size(); i < e; ++i) {
|
||||
if (Heads.count(Stores[i]))
|
||||
continue;
|
||||
for (unsigned j = 0; j < e; ++j) {
|
||||
if (i == j || Tails.count(Stores[j]))
|
||||
if (i == j)
|
||||
continue;
|
||||
|
||||
if (R.isConsecutiveAccess(Stores[i], Stores[j])) {
|
||||
|
Reference in New Issue
Block a user