[llvm-commits] [llvm] r51303 - /llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
Matthijs Kooijman
matthijs at stdin.nl
Tue May 20 00:26:46 PDT 2008
Author: matthijs
Date: Tue May 20 02:26:45 2008
New Revision: 51303
URL: http://llvm.org/viewvc/llvm-project?rev=51303&view=rev
Log:
Fix typo.
Modified:
llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=51303&r1=51302&r2=51303&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Tue May 20 02:26:45 2008
@@ -158,7 +158,7 @@
/// 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;
More information about the llvm-commits
mailing list