2010-04-07 Sebastian Pop <sebastian.pop@amd.com>
+ * tree-if-conv.c: Fix indentation and comments.
+
+2010-04-07 Sebastian Pop <sebastian.pop@amd.com>
+
* tree-if-conv.c: Sort static functions in topological order.
2010-04-07 Sebastian Pop <sebastian.pop@amd.com>
return stmt;
}
-/* Add condition COND into predicate list of basic block BB. */
+/* Add condition NEW_COND into predicate list of basic block BB. */
static void
add_to_predicate_list (basic_block bb, tree new_cond)
if (cond)
cond = fold_build2_loc (EXPR_LOCATION (cond),
- TRUTH_OR_EXPR, boolean_type_node,
- unshare_expr (cond), new_cond);
+ TRUTH_OR_EXPR, boolean_type_node,
+ unshare_expr (cond), new_cond);
else
cond = new_cond;
bb->aux = cond;
}
-/* Add condition COND into BB's predicate list. PREV_COND is
- existing condition. */
+/* And condition COND to the previous condition PREV_COND and add this
+ to the predicate list of the destination of edge E. GSI is the
+ place where the gimplification of the resulting condition should
+ output code. LOOP is the loop to be if-converted. */
static tree
add_to_dst_predicate_list (struct loop *loop, edge e,