projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d28b1b
)
Fix typo.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 20 May 2008 07:26:45 +0000
(07:26 +0000)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Tue, 20 May 2008 07:26:45 +0000
(07:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51303
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/JumpThreading.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/JumpThreading.cpp
b/lib/Transforms/Scalar/JumpThreading.cpp
index d79a6cea3b121e6ae921f8ec6f99a917203b478f..25f41d38a4e5afa6ff826a1a6cf97ff2a234b15d 100644
(file)
--- a/
lib/Transforms/Scalar/JumpThreading.cpp
+++ b/
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 o
f
switch. If so, see if the
+ // See if this block ends with a branch o
r
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;