[all-commits] [llvm/llvm-project] 8f933a: [openacc] Use TableGen enum for default clause value
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Mon Dec 21 12:11:25 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8f933a4e931dd1a66f19a81b33399cf7b407308f
https://github.com/llvm/llvm-project/commit/8f933a4e931dd1a66f19a81b33399cf7b407308f
Author: Valentin Clement <clementval at gmail.com>
Date: 2020-12-21 (Mon, 21 Dec 2020)
Changed paths:
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/resolve-directives.cpp
M llvm/include/llvm/Frontend/OpenACC/ACC.td
M llvm/test/TableGen/directive1.td
M llvm/utils/TableGen/DirectiveEmitter.cpp
Log Message:
-----------
[openacc] Use TableGen enum for default clause value
Use the TableGen feature to have enum values for clauses.
Next step will be to extend the MLIR part used currently by OpenMP
to use the same enum on the dialect side.
This patch also add function that convert the enum to StringRef to be
used on the dump-parse-tree from flang.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D93576
More information about the All-commits
mailing list