From c2e91e34dc18d794435db86713c06400ea60e930 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 25 Oct 2006 22:21:37 +0000 Subject: [PATCH] simplify code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31188 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/BranchFolding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/BranchFolding.cpp b/lib/CodeGen/BranchFolding.cpp index 202f986bd2e..5cad24845de 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 -- 2.34.1