mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Use the right version of "append" to combine two SmallVectors.
This fixes the compile-time regressions seen in last night's tests. llvm-svn: 103118
This commit is contained in:
parent
9b7ae2027f
commit
e4555598a2
@ -1604,7 +1604,7 @@ bool GVN::processNonLocalLoad(LoadInst *LI,
|
||||
}
|
||||
}
|
||||
if (!NeedToSplit.empty()) {
|
||||
toSplit.append(NeedToSplit.size(), NeedToSplit.front());
|
||||
toSplit.append(NeedToSplit.begin(), NeedToSplit.end());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user