summaryrefslogtreecommitdiff
path: root/mlir/test/lib/IR/TestBytecodeRoundtrip.cpp
AgeCommit message (Collapse)Author
2024-04-22[mlir][test] Reorganize the test dialect (#89424)Jeff Niu
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.
2024-02-19Apply clang-tidy fixes for readability-identifier-naming in ↵Mehdi Amini
TestBytecodeCallbacks.cpp (NFC)
2024-02-19Apply clang-tidy fixes for llvm-qualified-auto in TestBytecodeCallbacks.cpp ↵Mehdi Amini
(NFC)
2023-10-31[mlir] Fix an unused variable warningKazu Hirata
This patch fixes: mlir/test/lib/IR/TestBytecodeRoundtrip.cpp:403:10: error: unused variable 'status' [-Werror,-Wunused-variable]
2023-10-31[mlir][bytecode] Implements back deployment capability for MLIR dialects ↵Matteo Franciolini
(#70724) When emitting bytecode, clients can specify a target dialect version to emit in `BytecodeWriterConfig`. This exposes a target dialect version to the DialectBytecodeWriter, which can be queried by name and used to back-deploy attributes, types, and properties.