summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2008-05-20 07:26:45 +0000
committerMatthijs Kooijman <matthijs@stdin.nl>2008-05-20 07:26:45 +0000
commit5148a4ba66f2a5a37074b84497e73f60ba4de24c (patch)
tree95f1eeeb9884a5b73bce897a13178525c2762acc
parent7ac943fffd827c68f1477dd10dda9cd8a9c5679a (diff)
downloadbcm5719-llvm-5148a4ba66f2a5a37074b84497e73f60ba4de24c.tar.gz
bcm5719-llvm-5148a4ba66f2a5a37074b84497e73f60ba4de24c.zip
Fix typo.
llvm-svn: 51303
-rw-r--r--llvm/lib/Transforms/Scalar/JumpThreading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/JumpThreading.cpp b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
index d79a6cea3b1..25f41d38a4e 100644
--- a/llvm/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/llvm/lib/Transforms/Scalar/JumpThreading.cpp
@@ -158,7 +158,7 @@ static unsigned getJumpThreadDuplicationCost(const BasicBlock *BB) {
/// ThreadBlock - If there are any predecessors whose control can be threaded
/// through to a successor, transform them now.
bool JumpThreading::ThreadBlock(BasicBlock *BB) {
- // See if this block ends with a branch of switch. If so, see if the
+ // See if this block ends with a branch or switch. If so, see if the
// condition is a phi node. If so, and if an entry of the phi node is a
// constant, we can thread the block.
Value *Condition;
OpenPOWER on IntegriCloud