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:
fd488ed
)
Fix a typo
author
Owen Anderson
<resistor@mac.com>
Tue, 29 May 2007 23:34:14 +0000
(23:34 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 29 May 2007 23:34:14 +0000
(23:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37350
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVNPRE.cpp
b/lib/Transforms/Scalar/GVNPRE.cpp
index d32939fe9533e2bed8da4ad251bcf29148193f3e..131976bb1088d0911f8549dc16a8b612bae574b0 100644
(file)
--- a/
lib/Transforms/Scalar/GVNPRE.cpp
+++ b/
lib/Transforms/Scalar/GVNPRE.cpp
@@
-401,7
+401,7
@@
bool GVNPRE::runOnFunction(Function &F) {
for (unsigned i = 0; i < BB->getTerminator()->getNumSuccessors(); ++i) {
BasicBlock* currSucc = BB->getTerminator()->getSuccessor(i);
std::set<Expression> temp;
- if (visted.find(currSucc) == visited.end())
+ if (vis
i
ted.find(currSucc) == visited.end())
temp.insert(maximalSet.begin(), maximalSet.end());
else
temp.insert(anticIn.begin(), anticIn.end());