commit | 7a7dac9796830582e8d5ab059a94e48c0ffa763a | [log] [tgz] |
---|---|---|
author | Jeff Niu <jeff@modular.com> | Mon Apr 22 13:42:05 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 22 13:47:10 2024 -0700 |
tree | 06e9d615b1f357b7f76f327fb7b208a3f6d345f5 | |
parent | 2709b1d5154ad8e54b6faff2e9180d83913c30be [diff] |
[mlir][test] Reorganize the test dialect (#89424) This PR massively reorganizes the Test dialect's source files. It moves manually-written op hooks into `TestOpDefs.cpp`, moves format custom directive parsers and printers into `TestFormatUtils`, adds missing comment blocks, and moves around where generated source files are included for types, attributes, enums, etc. into their own source file. This will hopefully help navigate the test dialect source code, but also speeds up compile time of the test dialect by putting generated source files into separate compilation units. This also sets up the test dialect to shard its op definitions, done in the next PR. GitOrigin-RevId: e95e94adc6bb748de015ac3053e7f0786b65f351
See https://mlir.llvm.org/ for more information.