mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +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:
parent
cf47c180e1
commit
2a1f755c06
@ -3276,12 +3276,11 @@ bool SLPVectorizer::vectorizeStores(ArrayRef<StoreInst *> Stores,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user