From 0d4479b77dea6812baaec88f30fec2d8f69a3696 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Oct 2006 22:21:37 +0000 Subject: simplify code llvm-svn: 31188 --- llvm/lib/CodeGen/BranchFolding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/BranchFolding.cpp') diff --git a/llvm/lib/CodeGen/BranchFolding.cpp b/llvm/lib/CodeGen/BranchFolding.cpp index 202f986bd2e..5cad24845de 100644 --- a/llvm/lib/CodeGen/BranchFolding.cpp +++ b/llvm/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 -- cgit v1.2.3