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 | 0d4479b77dea6812baaec88f30fec2d8f69a3696 (patch) | |
tree | 8437d6b691193e60ed949336c51a3c89f5198c83 /llvm/lib | |
parent | f8e7d8ce99fd6240a4f808e2366caab2666338e1 (diff) | |
download | bcm5719-llvm-0d4479b77dea6812baaec88f30fec2d8f69a3696.tar.gz bcm5719-llvm-0d4479b77dea6812baaec88f30fec2d8f69a3696.zip |
simplify code
llvm-svn: 31188
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/CodeGen/BranchFolding.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |