public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-12] graphite: Fix minor mistakes in comments
@ 2022-06-29 14:41 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2022-06-29 14:41 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:af8716ef76fd8a05cd6d4b85cab4c23c8debf078
commit af8716ef76fd8a05cd6d4b85cab4c23c8debf078
Author: Frederik Harwath <frederik@codesourcery.com>
Date: Tue Nov 16 16:13:03 2021 +0100
graphite: Fix minor mistakes in comments
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.
Diff:
---
gcc/ChangeLog.omp | 7 +++++++
gcc/graphite-isl-ast-to-gimple.cc | 2 +-
gcc/graphite-sese-to-poly.cc | 4 ++--
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/gcc/ChangeLog.omp b/gcc/ChangeLog.omp
index b07809c8e3b..bb06c9b537f 100644
--- a/gcc/ChangeLog.omp
+++ b/gcc/ChangeLog.omp
@@ -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 ...
diff --git a/gcc/graphite-isl-ast-to-gimple.cc b/gcc/graphite-isl-ast-to-gimple.cc
index ea1129f0da3..634af18850c 100644
--- a/gcc/graphite-isl-ast-to-gimple.cc
+++ b/gcc/graphite-isl-ast-to-gimple.cc
@@ -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);
diff --git a/gcc/graphite-sese-to-poly.cc b/gcc/graphite-sese-to-poly.cc
index e79c185c934..a3eeb820b7d 100644
--- a/gcc/graphite-sese-to-poly.cc
+++ b/gcc/graphite-sese-to-poly.cc
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-29 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 14:41 [gcc/devel/omp/gcc-12] graphite: Fix minor mistakes in comments Kwok Yeung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).