diff options
author | Markus Böck <markus.boeck02@gmail.com> | 2024-11-25 10:02:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 10:02:53 +0100 |
commit | d35098bfa8e1e213f85a6b5035a5a7102f5da315 (patch) | |
tree | 54f56f93ff61d2ba60c59aba28ef8545feb2ca06 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | 866755f8da588ec2efbcac60679b9d9f5c4636a9 (diff) | |
download | llvm-d35098bfa8e1e213f85a6b5035a5a7102f5da315.zip llvm-d35098bfa8e1e213f85a6b5035a5a7102f5da315.tar.gz llvm-d35098bfa8e1e213f85a6b5035a5a7102f5da315.tar.bz2 |
[mlir][LLVM][NFC] Move `LLVMStructType` to ODS (#117485)
This PR extracts NFC changes out of
https://github.com/llvm/llvm-project/pull/116035 to reap as many of the
same benefits without any of the semantic changes.
More concretely, moving `LLVMStructType` to ODS has the benefits of
being able to generate much of the required boilerplate, such as
interface definitions, documentation and more, automatically.
Furthermore, `LLVMStructType` is then treated less special and its
definition can be found at the same place where all other complex type
definitions are found in the LLVM dialect.
Future changes could leverage more automatically generated code from
TableGen such as `assemblyFormat`. As these are not as trivial, they
have been left for future PRs.
---------
Co-authored-by: Tobias Gysi <tobias.gysi@nextsilicon.com>
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions