[llvm-commits] [llvm] r95170 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Bob Wilson
bob.wilson at apple.com
Tue Feb 2 16:33:21 PST 2010
Author: bwilson
Date: Tue Feb 2 18:33:21 2010
New Revision: 95170
URL: http://llvm.org/viewvc/llvm-project?rev=95170&view=rev
Log:
Fix some comment typos.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=95170&r1=95169&r2=95170&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Tue Feb 2 18:33:21 2010
@@ -2102,7 +2102,7 @@
for (pred_iterator PI = pred_begin(CurrentBlock),
PE = pred_end(CurrentBlock); PI != PE; ++PI) {
// We're not interested in PRE where the block is its
- // own predecessor, on in blocks with predecessors
+ // own predecessor, or in blocks with predecessors
// that are not reachable.
if (*PI == CurrentBlock) {
NumWithout = 2;
@@ -2150,10 +2150,10 @@
continue;
}
- // Instantiate the expression the in predecessor that lacked it.
+ // Instantiate the expression in the predecessor that lacked it.
// Because we are going top-down through the block, all value numbers
// will be available in the predecessor by the time we need them. Any
- // that weren't original present will have been instantiated earlier
+ // that weren't originally present will have been instantiated earlier
// in this loop.
Instruction *PREInstr = CurInst->clone();
bool success = true;
More information about the llvm-commits
mailing list