From 7cd133a6e4b04262620489dbf4b4e3ae5e96c95f Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Mon, 27 Jan 2025 00:35:17 +0100 Subject: Fortran: In openmp.cc, uncomment unroll/tile lines of gfc_omp_directives 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/fortran/openmp.cc b/gcc/fortran/openmp.cc index 7875341..35661d8 100644 --- a/gcc/fortran/openmp.cc +++ b/gcc/fortran/openmp.cc @@ -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}, }; -- cgit v1.1