2010-05-26 Sebastian Pop <sebastian.pop@amd.com>
+ * tree-if-conv.c (tree_if_conversion): Do not return a bool.
+
+2010-05-26 Sebastian Pop <sebastian.pop@amd.com>
+
* tree-if-conv.c: Update copyright years. Fix comments.
Fix indentation.
merge_blocks (loop->header, exit_bb);
}
-/* Main entry point: return true when LOOP is if-converted, otherwise
- the loop remains unchanged. */
+/* If-convert LOOP when it is legal. For the moment this pass has no
+ profitability analysis. */
-static bool
+static void
tree_if_conversion (struct loop *loop)
{
gimple_stmt_iterator itr;
ifc_bbs = NULL;
}
free_dominance_info (CDI_POST_DOMINATORS);
- return false;
+ return;
}
for (i = 0; i < loop->num_nodes; i++)
clean_predicate_lists (loop);
free (ifc_bbs);
ifc_bbs = NULL;
-
- return true;
}
/* Tree if-conversion pass management. */