Use TableGen and information in ACC.td for the Default enum in the OpenACC dialect.
This patch generalize what was done for OpenMP for directives.
Follow up patch after D93576
Paths
| Differential D93710
[mlir][openacc] Use TableGen information for default enum ClosedPublic Authored by clementval on Dec 22 2020, 7:55 AM.
Details Summary Use TableGen and information in ACC.td for the Default enum in the OpenACC dialect. Follow up patch after D93576
Diff Detail
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 15 others. · View Herald TranscriptDec 22 2020, 7:55 AM Herald added subscribers: llvm-commits, sstefan1, stephenneuendorffer, nicolasvasilache. · View Herald Transcript Comment Actions Thanks for the patience. LGTM. One comment regarding doc generation before I approve. Mehdi added a patch to OpenMP dialectCMake for building the Doc generation for the OpenMP dialect otherwise a bot will fail. I guess it is needed in the OpenACC CMake as well. Comment Actions
Thanks for the review. I saw it in the OpenMP CMakeLists.txt and I thought it was a bit weird to add dependency to the doc but make sense with the linked patch. Thanks! This revision is now accepted and ready to land.Jan 12 2021, 12:26 AM Closed by commit rG0bd9a1369112: [mlir][openacc] Use TableGen information for default enum (authored by clementval). · Explain WhyJan 12 2021, 6:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313350 llvm/include/llvm/Frontend/OpenACC/ACC.td
mlir/include/mlir/Dialect/OpenACC/CMakeLists.txt
mlir/include/mlir/Dialect/OpenACC/OpenACCOps.td
mlir/test/mlir-tblgen/directive-common.td
mlir/test/mlir-tblgen/openmp-common.td
mlir/tools/mlir-tblgen/CMakeLists.txt
mlir/tools/mlir-tblgen/DirectiveCommonGen.cpp
|