simplify code
authorChris Lattner <sabre@nondot.org>
Wed, 25 Oct 2006 22:21:37 +0000 (22:21 +0000)
committerChris 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

index 202f986bd2eb509600f973c637fb5a257bbc69a0..5cad24845de3528f21ad57df365714729906fa80 100644 (file)
@@ -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