]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
graphite: Fix minor mistakes in comments
authorFrederik Harwath <frederik@codesourcery.com>
Tue, 16 Nov 2021 15:13:03 +0000 (16:13 +0100)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:45 +0000 (14:11 +0100)
gcc/ChangeLog:

* graphite-sese-to-poly.cc (build_poly_sr_1): Fix a typo and
          a reference to a variable which does not exist.
* graphite-isl-ast-to-gimple.cc (gsi_insert_earliest): Fix typo
          in comment.

gcc/ChangeLog.omp
gcc/graphite-isl-ast-to-gimple.cc
gcc/graphite-sese-to-poly.cc

index b07809c8e3b8db4f2f475c56572f69b30e6d5685..bb06c9b537f6f2d8cd1f9e179ee62868f4183016 100644 (file)
@@ -1,3 +1,10 @@
+2021-11-16  Frederik Harwath  <frederik@codesourcery.com>
+
+       * graphite-sese-to-poly.cc (build_poly_sr_1): Fix a typo and
+       a reference to a variable which does not exist.
+       * graphite-isl-ast-to-gimple.cc (gsi_insert_earliest): Fix typo
+       in comment.
+
 2021-11-16  Frederik Harwath  <frederik@codesourcery.com>
 
        * graphite-sese-to-poly.cc (isl_id_for_ssa_name): Rename to ...
index ea1129f0da3366532166ac4709c254743866d3a1..634af18850cd3e63c4fc1f640430ea67e15b31d9 100644 (file)
@@ -1014,7 +1014,7 @@ gsi_insert_earliest (gimple_seq seq)
   basic_block begin_bb = get_entry_bb (codegen_region);
 
   /* Inserting the gimple statements in a vector because gimple_seq behave
-     in strage ways when inserting the stmts from it into different basic
+     in strange ways when inserting the stmts from it into different basic
      blocks one at a time.  */
   auto_vec<gimple *, 3> stmts;
   for (gimple_stmt_iterator gsi = gsi_start (seq); !gsi_end_p (gsi);
index e79c185c9347ed2c0b14852ebf119901ddf637b2..a3eeb820b7da849605eb0a944e54291f8984d5e1 100644 (file)
@@ -649,14 +649,14 @@ build_poly_sr_1 (poly_bb_p pbb, gimple *stmt, tree var, enum poly_dr_type kind,
                 isl_map *acc, isl_set *subscript_sizes)
 {
   scop_p scop = PBB_SCOP (pbb);
-  /* Each scalar variables has a unique alias set number starting from
+  /* Each scalar variable has a unique alias set number starting from
      the maximum alias set assigned to a dr.  */
   int alias_set = scop->max_alias_set + SSA_NAME_VERSION (var);
   subscript_sizes = isl_set_fix_si (subscript_sizes, isl_dim_set, 0,
                                    alias_set);
 
   /* Add a constrain to the ACCESSES polyhedron for the alias set of
-     data reference DR.  */
+     the reference */
   isl_constraint *c
     = isl_equality_alloc (isl_local_space_from_space (isl_map_get_space (acc)));
   c = isl_constraint_set_constant_si (c, -alias_set);