Add parsing supprot for dim in gang clause
Depends on D151971
Paths
| Differential D151972
[flang][openacc] Add parsing support for dim in gang clause ClosedPublic Authored by clementval on Jun 1 2023, 10:47 PM.
Details
Diff Detail
Unit TestsFailed Event Timelineclementval added a child revision: D151973: [flang][openacc] Lower gang dim to MLIR.Jun 1 2023, 10:51 PM Anastasia added inline comments.
Comment Actions Looks great, please double check/rebase, but I think the buildbot failures are unrelated to your patch. This revision is now accepted and ready to land.Jun 13 2023, 6:34 AM This revision was landed with ongoing or failed builds.Jun 13 2023, 8:33 PM Closed by commit rG5923e46fceef: [flang][openacc] Add parsing support for dim in gang clause (authored by clementval). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 531093 flang/examples/FeatureList/FeatureList.cpp
flang/include/flang/Parser/dump-parse-tree.h
flang/include/flang/Parser/parse-tree.h
flang/lib/Lower/OpenACC.cpp
flang/lib/Parser/openacc-parsers.cpp
flang/lib/Parser/unparse.cpp
flang/lib/Semantics/check-acc-structure.cpp
flang/test/Parser/acc-unparse.f90
flang/test/Semantics/OpenACC/acc-loop.f90
llvm/include/llvm/Frontend/OpenACC/ACC.td
|
Btw dim and num should not appear together, s2.9.2 paragraph 1 says:
There are a number of other restrictions, for example the value of dim can only be an integer literal in the range 1-3 and it has to appear only once. But maybe you plan to add the diagnostics later?