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:
5962d3e
)
simplify code
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Oct 2006 22:21:37 +0000
(22:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Oct 2006 22:21:37 +0000
(22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31188
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/BranchFolding.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/BranchFolding.cpp
b/lib/CodeGen/BranchFolding.cpp
index 202f986bd2eb509600f973c637fb5a257bbc69a0..5cad24845de3528f21ad57df365714729906fa80 100644
(file)
--- a/
lib/CodeGen/BranchFolding.cpp
+++ b/
lib/CodeGen/BranchFolding.cpp
@@
-417,7
+417,7
@@
static bool CanFallThrough(MachineBasicBlock *TBB,
// Otherwise, if it is conditional and has no explicit false block, it falls
// through.
- return
!Cond.empty() &&
FBB == 0;
+ return FBB == 0;
}
/// OptimizeBlock - Analyze and optimize control flow related to the specified