This is just add warning when using depend clause in ordered directive for openmp52 and up.
BTW, I need change test ordered_doacross_codegen.c since I can not use macro _OPENMP >= 202111 due to use of -fopenmp-simd.
Paths
| Differential D154672
[OPENMP52] Deprecation of 'depend' clause in ordered directive. ClosedPublic Authored by jyu2 on Jul 6 2023, 6:35 PM.
Details Summary This is just add warning when using depend clause in ordered directive for openmp52 and up. BTW, I need change test ordered_doacross_codegen.c since I can not use macro _OPENMP >= 202111 due to use of -fopenmp-simd.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 6 2023, 8:57 PM
aaron.ballman added inline comments.
Comment Actions Thanks @jdoerfert, @ABataev and @aaron.ballman for the code reviews. This is addressing comments.
This revision was landed with ongoing or failed builds.Jul 7 2023, 1:20 PM Closed by commit rG852fe30b687e: [OPENMP52] Deprecation of 'depend' clause in ordered directive. (authored by jyu2). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 538162 clang/include/clang/Basic/DiagnosticParseKinds.td
clang/lib/Parse/ParseOpenMP.cpp
clang/test/OpenMP/ordered_doacross_codegen.c
clang/test/OpenMP/ordered_messages.cpp
|
denpend->depend
instaed->instead