[llvm-commits] CVS: llvm/lib/CodeGen/BranchFolding.cpp
    Chris Lattner 
    sabre at nondot.org
       
    Wed Oct 25 15:21:51 PDT 2006
    
    
  
Changes in directory llvm/lib/CodeGen:
BranchFolding.cpp updated: 1.23 -> 1.24
---
Log message:
simplify code
---
Diffs of the changes:  (+1 -1)
 BranchFolding.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/BranchFolding.cpp
diff -u llvm/lib/CodeGen/BranchFolding.cpp:1.23 llvm/lib/CodeGen/BranchFolding.cpp:1.24
--- llvm/lib/CodeGen/BranchFolding.cpp:1.23	Wed Oct 25 13:08:50 2006
+++ llvm/lib/CodeGen/BranchFolding.cpp	Wed Oct 25 17:21:37 2006
@@ -417,7 +417,7 @@
   
   // 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
    
    
More information about the llvm-commits
mailing list