llvm/mlir/tools
Mogball 4957518ef5 [mlir][ods] Simplify useDefaultType/AttributePrinterParser
The current behaviour of `useDefaultTypePrinterParser` and `useDefaultAttributePrinterParser` is that they are set by default, but the dialect generator only generates the declarations for the parsing and printing hooks if it sees dialect types and attributes. Same goes for the definitions generated by the AttrOrTypeDef generator.

This can lead to confusing and undesirable behaviour if the dialect generator doesn't see the definitions of the attributes and types, for example, if they are sensibly separated into different files: `Dialect.td`, `Ops.td`, `Attributes.td`, and `Types.td`.

Now, these bits are unset by default. Setting them will always result in the dialect generator emitting the declarations for the parsing hooks. And if the AttrOrTypeDef generator sees it set, it will generate the default implementations.

Reviewed By: rriddle, stellaraccident

Differential Revision: https://reviews.llvm.org/D125809
2022-05-18 17:22:11 +00:00
..
mlir-cpu-runner Reland [mlir] Remove uses of LLVM's legacy pass manager 2022-04-11 16:53:32 -07:00
mlir-linalg-ods-gen [mlir][linalg] Add ods-gen helper to simplify the build methods. 2022-04-20 13:14:38 +00:00
mlir-lsp-server
mlir-opt [mlir][PDLL] Add support for generating PDL patterns from PDLL at build time 2022-04-26 18:33:16 -07:00
mlir-parser-fuzzer Reland "[FuzzMutate] Split out FuzzerCLI library that doesn't depend on IR." 2022-05-07 13:49:54 +02:00
mlir-pdll [MLIR] Fix build with make 2022-05-06 14:52:35 +02:00
mlir-pdll-lsp-server [mlir][PDLL] Add an initial language server for PDLL 2022-03-19 13:28:23 -07:00
mlir-reduce
mlir-shlib
mlir-spirv-cpu-runner Reland [mlir] Remove uses of LLVM's legacy pass manager 2022-04-11 16:53:32 -07:00
mlir-tblgen [mlir][ods] Simplify useDefaultType/AttributePrinterParser 2022-05-18 17:22:11 +00:00
mlir-translate [mlir][NFC] Move Translation.h to a Tools/mlir-translate directory 2022-03-07 01:05:38 -08:00
mlir-vulkan-runner Reland [mlir] Remove uses of LLVM's legacy pass manager 2022-04-11 16:53:32 -07:00
tblgen-lsp-server [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00
CMakeLists.txt [mlir][Tablegen-LSP] Add support for a basic TableGen language server 2022-05-16 16:03:51 -07:00