]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fortran: In openmp.cc, uncomment unroll/tile lines of gfc_omp_directives
authorTobias Burnus <tburnus@baylibre.com>
Sun, 26 Jan 2025 23:35:17 +0000 (00:35 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Sun, 26 Jan 2025 23:35:17 +0000 (00:35 +0100)
Enable unroll and tile for assume's contains/absent clauses as both
directives are implemented since r15-1037-g804c0f35a6b1d7.

gcc/fortran/ChangeLog:

* openmp.cc (gfc_omp_directives): Uncomment unroll and tile lines
as the directives are by now implemented.

gcc/fortran/openmp.cc

index 7875341b2cfa54a15b51584a6cd6651efbe616f2..35661d88f1e4e98b3f07a7ae5e24cb1b48666aa3 100644 (file)
@@ -109,8 +109,8 @@ static const struct gfc_omp_directive gfc_omp_directives[] = {
   {"task", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TASK},
   {"teams", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TEAMS},
   {"threadprivate", GFC_OMP_DIR_DECLARATIVE, ST_OMP_THREADPRIVATE},
-  /* {"tile", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TILE}, */
-  /* {"unroll", GFC_OMP_DIR_EXECUTABLE, ST_OMP_UNROLL}, */
+  {"tile", GFC_OMP_DIR_EXECUTABLE, ST_OMP_TILE},
+  {"unroll", GFC_OMP_DIR_EXECUTABLE, ST_OMP_UNROLL},
   {"workshare", GFC_OMP_DIR_EXECUTABLE, ST_OMP_WORKSHARE},
 };