diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-02-03 00:33:21 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-02-03 00:33:21 +0000 |
commit | e7b635f430a0732d2790ef747fe9b4d7582de8a5 (patch) | |
tree | d819429d453091778ab00b3c82f1d5a720dbfd2c /lib/Transforms | |
parent | 6c8d6ec2a7906733401aae121a5e1eacf477c0f5 (diff) | |
download | external_llvm-e7b635f430a0732d2790ef747fe9b4d7582de8a5.zip external_llvm-e7b635f430a0732d2790ef747fe9b4d7582de8a5.tar.gz external_llvm-e7b635f430a0732d2790ef747fe9b4d7582de8a5.tar.bz2 |
Fix some comment typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/GVN.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 421a930..80e0027 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp @@ -2102,7 +2102,7 @@ bool GVN::performPRE(Function &F) { 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 @@ bool GVN::performPRE(Function &F) { 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; |