diff options
author | Abe Skolnik <a.skolnik@samsung.com> | 2015-08-04 03:53:10 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2015-08-03 21:53:10 -0600 |
commit | 0ad23163d01cb104d39f9b21bad009812fb96042 (patch) | |
tree | 2989ce65ac7c8d1deed2ad7e58c2304afe62c22b /gcc/tree-if-conv.c | |
parent | f48495834f4cebdd3cbce0ae784a18a870335287 (diff) | |
download | gcc-0ad23163d01cb104d39f9b21bad009812fb96042.zip gcc-0ad23163d01cb104d39f9b21bad009812fb96042.tar.gz gcc-0ad23163d01cb104d39f9b21bad009812fb96042.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r-- | gcc/tree-if-conv.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c index a284c2a..b5de1b2 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<gimple> *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); |