[llvm-commits] CVS: llvm/lib/Transforms/Scalar/GVNPRE.cpp
Owen Anderson
resistor at mac.com
Tue May 29 16:34:50 PDT 2007
Changes in directory llvm/lib/Transforms/Scalar:
GVNPRE.cpp updated: 1.5 -> 1.6
---
Log message:
Fix a typo
---
Diffs of the changes: (+1 -1)
GVNPRE.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Transforms/Scalar/GVNPRE.cpp
diff -u llvm/lib/Transforms/Scalar/GVNPRE.cpp:1.5 llvm/lib/Transforms/Scalar/GVNPRE.cpp:1.6
--- llvm/lib/Transforms/Scalar/GVNPRE.cpp:1.5 Tue May 29 18:26:30 2007
+++ llvm/lib/Transforms/Scalar/GVNPRE.cpp Tue May 29 18:34:14 2007
@@ -401,7 +401,7 @@
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 (visited.find(currSucc) == visited.end())
temp.insert(maximalSet.begin(), maximalSet.end());
else
temp.insert(anticIn.begin(), anticIn.end());
More information about the llvm-commits
mailing list