projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
continue making the world safe for ConstantDataVector. At this point,
[oota-llvm.git]
/
lib
/
Transforms
/
InstCombine
/
InstCombineSimplifyDemanded.cpp
diff --git
a/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
b/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
index 6873d15bababc7e32af1131d2a31e3c727b61242..61a8e5b3bceb38ef4cd856c48f15883a411737a5 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+++ b/
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
@@
-982,7
+982,7
@@
Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
if (NewUndefElts) {
// Add additional discovered undefs.
-
std::vector<Constant*
> Elts;
+
SmallVector<Constant*, 16
> Elts;
for (unsigned i = 0; i < VWidth; ++i) {
if (UndefElts[i])
Elts.push_back(UndefValue::get(Type::getInt32Ty(I->getContext())));