projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LoopVectorize: Vectorize all accesses in address space zero with unit stride
[oota-llvm.git]
/
lib
/
Transforms
/
Scalar
/
ADCE.cpp
diff --git
a/lib/Transforms/Scalar/ADCE.cpp
b/lib/Transforms/Scalar/ADCE.cpp
index a09730864051e291e68acadb085471d5c0156401..a3eb07a9f6d66507a76fb5b23f07c597482b9011 100644
(file)
--- a/
lib/Transforms/Scalar/ADCE.cpp
+++ b/
lib/Transforms/Scalar/ADCE.cpp
@@
-83,7
+83,7
@@
bool ADCE::runOnFunction(Function& F) {
I->dropAllReferences();
}
- for (SmallVector
<Instruction*, 1024
>::iterator I = worklist.begin(),
+ for (SmallVector
Impl<Instruction *
>::iterator I = worklist.begin(),
E = worklist.end(); I != E; ++I) {
++NumRemoved;
(*I)->eraseFromParent();