From: Abe Skolnik Date: Tue, 4 Aug 2015 03:53:10 +0000 (+0000) Subject: tree-if-conv.c: Fix various typos in comments. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0ad23163d01cb104d39f9b21bad009812fb96042;p=gcc.git tree-if-conv.c: Fix various typos in comments. * tree-if-conv.c: Fix various typos in comments. * tree-vect-stmts.c: Likewise. From-SVN: r226544 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index acb75e80ae0..fdc4a7e4e12 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-08-03 Abe Skolnik + + * tree-if-conv.c: Fix various typos in comments. + * tree-vect-stmts.c: Likewise. + 2015-08-04 Thomas Preud'homme PR tree-optimization/67043 diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index a284c2a10fe..b5de1b2cdb6 100644 --- a/gcc/tree-if-conv.c +++ b/gcc/tree-if-conv.c @@ -2283,8 +2283,8 @@ combine_blocks (struct loop *loop, bool any_mask_load_store) ifc_bbs = NULL; } -/* Version LOOP before if-converting it, the original loop - will be then if-converted, the new copy of the loop will not, +/* Version LOOP before if-converting it; the original loop + will be if-converted, the new copy of the loop will not, and the LOOP_VECTORIZED internal call will be guarding which loop to execute. The vectorizer pass will fold this internal call into either true or false. */ @@ -2456,7 +2456,7 @@ ifcvt_walk_pattern_tree (tree var, vec *defuse_list, return; } -/* Returns true if STMT can be a root of bool pattern apllied +/* Returns true if STMT can be a root of bool pattern applied by vectorizer. */ static bool @@ -2486,7 +2486,7 @@ stmt_is_root_of_bool_pattern (gimple stmt) return false; } -/* Traverse all statements in BB which correspondent to loop header to +/* Traverse all statements in BB which correspond to loop header to find out all statements which can start bool pattern applied by vectorizer and convert multiple uses in it to conform pattern restrictions. Such case can occur if the same predicate is used both @@ -2567,7 +2567,7 @@ ifcvt_local_dce (basic_block bb) gimple_set_plf (phi, GF_PLF_2, true); worklist.safe_push (phi); } - /* Consider load/store statemnts, CALL and COND as live. */ + /* Consider load/store statements, CALL and COND as live. */ for (gsi = gsi_start_bb (bb); !gsi_end_p (gsi); gsi_next (&gsi)) { stmt = gsi_stmt (gsi); @@ -2655,7 +2655,7 @@ tree_if_conversion (struct loop *loop) ifc_bbs = NULL; bool any_mask_load_store = false; - /* Set-up aggressive if-conversion for loops marked with simd pragma. */ + /* Set up aggressive if-conversion for loops marked with simd pragma. */ aggressive_if_conv = loop->force_vectorize; /* Check either outer loop was marked with simd pragma. */ if (!aggressive_if_conv) @@ -2687,7 +2687,7 @@ tree_if_conversion (struct loop *loop) combine_blocks (loop, any_mask_load_store); /* Delete dead predicate computations and repair tree correspondent - to bool pattern to delete multiple uses of preidcates. */ + to bool pattern to delete multiple uses of predicates. */ if (aggressive_if_conv) { ifcvt_local_dce (loop->header); diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index 1256b096a3d..33a7e0c499b 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -7125,7 +7125,7 @@ vect_is_simple_cond (tree cond, gimple stmt, loop_vec_info loop_vinfo, When STMT is vectorized as nested cycle, REDUC_DEF is the vector variable to be used at REDUC_INDEX (in then clause if REDUC_INDEX is 1, and in - else caluse if it is 2). + else clause if it is 2). Return FALSE if not a vectorizable STMT, TRUE otherwise. */