mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
Use the right version of "append" to combine two SmallVectors.
This fixes the compile-time regressions seen in last night's tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ad2aafef1
commit
bc78653057
@ -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…
x
Reference in New Issue
Block a user