diff options
author | Rolf Morel <rolf.morel@intel.com> | 2024-10-31 20:18:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 19:18:24 +0000 |
commit | 5c1752e368585e55c0335a7d7651fe43d42af282 (patch) | |
tree | 8e981d21c3e4c59a3430e89a62cc00a39fce312e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9cc298108a7bb34d0126028a529ecdcb0ade9baf (diff) | |
download | llvm-5c1752e368585e55c0335a7d7651fe43d42af282.zip llvm-5c1752e368585e55c0335a7d7651fe43d42af282.tar.gz llvm-5c1752e368585e55c0335a7d7651fe43d42af282.tar.bz2 |
[MLIR][DLTI] Pretty parsing and printing for DLTI attrs (#113365)
Unifies parsing and printing for DLTI attributes. Introduces a format of
`#dlti.attr<key1 = val1, ..., keyN = valN>` syntax for all queryable
DLTI attributes similar to that of the DictionaryAttr, while retaining
support for specifying key-value pairs with `#dlti.dl_entry` (whether to
retain this is TBD).
As the new format does away with most of the boilerplate, it is much easier
to parse for humans. This makes an especially big difference for nested
attributes.
Updates the DLTI-using tests and includes fixes for misc error checking/
error messages.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions