mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-10 13:51:37 +00:00
[DAG] Simplify Expression. NFC.
llvm-svn: 333765
This commit is contained in:
parent
533265233b
commit
7c8df4b39c
@ -13691,17 +13691,11 @@ bool DAGCombiner::MergeConsecutiveStores(StoreSDNode *St) {
|
||||
continue;
|
||||
}
|
||||
|
||||
bool Merged = MergeStoresOfConstantsOrVecElts(
|
||||
StoreNodes, MemVT, NumStoresToMerge, false, true, false);
|
||||
if (!Merged) {
|
||||
StoreNodes.erase(StoreNodes.begin(),
|
||||
StoreNodes.begin() + NumStoresToMerge);
|
||||
continue;
|
||||
}
|
||||
// Remove merged stores for next iteration.
|
||||
RV |= MergeStoresOfConstantsOrVecElts(StoreNodes, MemVT, NumStoresToMerge,
|
||||
false, true, false);
|
||||
|
||||
StoreNodes.erase(StoreNodes.begin(),
|
||||
StoreNodes.begin() + NumStoresToMerge);
|
||||
RV = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user