From: Chris Lattner Date: Wed, 25 Oct 2006 22:21:37 +0000 (+0000) Subject: simplify code X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c2e91e34dc18d794435db86713c06400ea60e930;p=oota-llvm.git simplify code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31188 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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