git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241415
91177308-0d34-0410-b5e6-
96231b3b80d8
I = ConsecutiveChain[I];
}
- bool Vectorized = vectorizeStoreChain(Operands, costThreshold, R);
-
- // Mark the vectorized stores so that we don't vectorize them again.
- if (Vectorized)
+ if (vectorizeStoreChain(Operands, costThreshold, R)) {
+ // Mark the vectorized stores so that we don't vectorize them again.
VectorizedStores.insert(Operands.begin(), Operands.end());
- Changed |= Vectorized;
+ Changed = true;
+ }
}
return Changed;