aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorIvan Ho <ivan.ho@cl.cam.ac.uk>2025-05-02 13:19:06 +0100
committerGitHub <noreply@github.com>2025-05-02 14:19:06 +0200
commit41035f4aa8139353a532509e5d4406dbb07446ac (patch)
tree406c28747e5391be3818b373b6fe4133bb2a441a /flang/lib/Frontend/CompilerInvocation.cpp
parent5060f08c3a98c2e4976d7ec380d9d8ea1888a68c (diff)
downloadllvm-41035f4aa8139353a532509e5d4406dbb07446ac.zip
llvm-41035f4aa8139353a532509e5d4406dbb07446ac.tar.gz
llvm-41035f4aa8139353a532509e5d4406dbb07446ac.tar.bz2
[MLIR][IRDL] Added IRDL to C++ Translation (#133982)
This PR introduces a new tool, mlir-irdl-to-cpp, that converts IRDL to C++ definitions. The C++ definitions allow use of the IRDL-defined dialect in MLIR C++ infrastructure, enabling the use of conversion patterns with IRDL dialects for example. This PR also adds CMake utilities to easily integrate the IRDL dialects into MLIR projects. Note that most IRDL features are not supported. In general, we are only able to define simple types and operations. - The only type constraint supported is `irdl.any`. - Variadic operands and results are not supported. - Verifiers for the IRDL constraints are not generated. - Attributes are not supported. --------- Co-authored-by: Théo Degioanni <theo.degioanni.llvm.deluge062@simplelogin.fr> Co-authored-by: Fehr Mathieu <mathieu.fehr@gmail.com>
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions