Fix comments.
2010-04-07 Sebastian Pop <sebastian.pop@amd.com> * tree-if-conv.c: Fix indentation and comments. From-SVN: r158041
This commit is contained in:
parent
baaa8e9638
commit
62ef243189
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -130,7 +130,7 @@ ifc_temp_var (tree type, tree exp)
|
||||
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)
|
||||
@ -147,8 +147,10 @@ add_to_predicate_list (basic_block bb, tree 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,
|
||||
@ -254,7 +256,7 @@ tree_if_convert_cond_stmt (struct loop *loop, gimple stmt, tree cond,
|
||||
loop. It is used here when it is required to delete current statement. */
|
||||
|
||||
static tree
|
||||
tree_if_convert_stmt (struct loop * loop, gimple t, tree cond,
|
||||
tree_if_convert_stmt (struct loop *loop, gimple t, tree cond,
|
||||
gimple_stmt_iterator *gsi)
|
||||
{
|
||||
if (dump_file && (dump_flags & TDF_DETAILS))
|
||||
@ -872,8 +874,8 @@ replace_phi_with_cond_gimple_assign_stmt (gimple phi, tree cond,
|
||||
}
|
||||
}
|
||||
|
||||
/* Process phi nodes for the given LOOP. Replace phi nodes with cond
|
||||
modify expr. */
|
||||
/* Process phi nodes for the given LOOP. Replace phi nodes with
|
||||
conditional modify expressions. */
|
||||
|
||||
static void
|
||||
process_phi_nodes (struct loop *loop)
|
||||
@ -882,7 +884,6 @@ process_phi_nodes (struct loop *loop)
|
||||
unsigned int orig_loop_num_nodes = loop->num_nodes;
|
||||
unsigned int i;
|
||||
|
||||
/* Replace phi nodes with cond. modify expr. */
|
||||
for (i = 1; i < orig_loop_num_nodes; i++)
|
||||
{
|
||||
gimple phi;
|
||||
@ -914,8 +915,8 @@ process_phi_nodes (struct loop *loop)
|
||||
return;
|
||||
}
|
||||
|
||||
/* Combine all basic block from the given LOOP into one or two super
|
||||
basic block. Replace PHI nodes with conditional modify expression. */
|
||||
/* Combine all the basic blocks from LOOP into one or two super basic
|
||||
blocks. Replace PHI nodes with conditional modify expressions. */
|
||||
|
||||
static void
|
||||
combine_blocks (struct loop *loop)
|
||||
|
Loading…
x
Reference in New Issue
Block a user