mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
remove unnecessary temp variable; NFCI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -3276,12 +3276,11 @@ bool SLPVectorizer::vectorizeStores(ArrayRef<StoreInst *> Stores,
|
|||||||
I = ConsecutiveChain[I];
|
I = ConsecutiveChain[I];
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Vectorized = vectorizeStoreChain(Operands, costThreshold, R);
|
if (vectorizeStoreChain(Operands, costThreshold, R)) {
|
||||||
|
// Mark the vectorized stores so that we don't vectorize them again.
|
||||||
// Mark the vectorized stores so that we don't vectorize them again.
|
|
||||||
if (Vectorized)
|
|
||||||
VectorizedStores.insert(Operands.begin(), Operands.end());
|
VectorizedStores.insert(Operands.begin(), Operands.end());
|
||||||
Changed |= Vectorized;
|
Changed = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Changed;
|
return Changed;
|
||||||
|
Reference in New Issue
Block a user