diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-25 22:21:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-25 22:21:37 +0000 |
commit | c2e91e34dc18d794435db86713c06400ea60e930 (patch) | |
tree | b8a467bde0f3b291b14a92deabd55c9163e5b482 /lib | |
parent | 5962d3ebb8f1aa8299648b8eb631412dfc80b2bd (diff) | |
download | external_llvm-c2e91e34dc18d794435db86713c06400ea60e930.zip external_llvm-c2e91e34dc18d794435db86713c06400ea60e930.tar.gz external_llvm-c2e91e34dc18d794435db86713c06400ea60e930.tar.bz2 |
simplify code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/BranchFolding.cpp | 2 |
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 |