projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad2aaf
)
Use the right version of "append" to combine two SmallVectors.
author
Bob Wilson
<bob.wilson@apple.com>
Wed, 5 May 2010 20:44:15 +0000
(20:44 +0000)
committer
Bob Wilson
<bob.wilson@apple.com>
Wed, 5 May 2010 20:44:15 +0000
(20:44 +0000)
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
lib/Transforms/Scalar/GVN.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVN.cpp
b/lib/Transforms/Scalar/GVN.cpp
index 65b34b13dd47b9431cc90e0b3a14267d211e6f71..fdd176605fe9f410b7be6fabb35fdc09e7d97df2 100644
(file)
--- a/
lib/Transforms/Scalar/GVN.cpp
+++ b/
lib/Transforms/Scalar/GVN.cpp
@@
-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;
}