aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 202f986..5cad248 100644
--- 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