aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2009-11-16 19:33:27 +0000
committerBob Wilson <bob.wilson@apple.com>2009-11-16 19:33:27 +0000
commit4a504c6ff8c3d82e0e220611fbf53b2c9d9acdfd (patch)
tree76d63f360da34ca16a9d7b027bf4e8e54cca3ad1 /lib/CodeGen/BranchFolding.cpp
parent270a97430d6ac718d0d327ebea659d78df5e97a8 (diff)
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
-rw-r--r--lib/CodeGen/BranchFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp
index 1defbf6cd2..63c0340dfd 100644
--- a/lib/CodeGen/BranchFolding.cpp
+++ b/lib/CodeGen/BranchFolding.cpp
@@ -1185,7 +1185,7 @@ ReoptimizeBlock:
// If the previous block unconditionally falls through to this block and
// this block has no other predecessors, move the contents of this block
// into the prior block. This doesn't usually happen when SimplifyCFG
- // has been used, but it can happen tail duplication eliminates all the
+ // has been used, but it can happen if tail duplication eliminates all the
// non-branch predecessors of a block leaving only the fall-through edge.
// This has to check PrevBB->succ_size() because EH edges are ignored by
// AnalyzeBranch.