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



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to