Make MergeBlockIntoPredecessor more aggressive when the same successor appears
[oota-llvm.git] / include / llvm / Transforms / Utils / BasicBlockUtils.h
index f1a7a2641766761906cbf9ccd20c1a2224a5d089..5b367015afa4eee9430c72dd8c00ec0c10231f7d 100644 (file)
@@ -27,7 +27,7 @@ class Pass;
 
 /// MergeBlockIntoPredecessor - Attempts to merge a block into its predecessor,
 /// if possible.  The return value indicates success or failure.
-bool MergeBlockIntoPredecessor(BasicBlock* BB, Pass* P);
+bool MergeBlockIntoPredecessor(BasicBlock* BB, Pass* P = 0);
 
 // ReplaceInstWithValue - Replace all uses of an instruction (specified by BI)
 // with a value, then remove and delete the original instruction.