Open ScottTodd opened 4 days ago
Textual MLIR using most of our dialects (e.g. linalg) is not generally stable, so this sort of test suite does run the risk of breaking regularly. If we add enough test cases within each window when the op semantics / serialized representations do not change then this could still be useful enough.
We can think of "regression tests" as a middle layer between unit tests and integration tests:
When an issue is detected and fixed, we should have a process to:
Tools like fuzzers can also be used to generate regression test cases.
Tools to help
iree-reduce
: https://github.com/iree-org/iree/pull/14892mlir-reduce
: https://mlir.llvm.org/docs/Tools/mlir-reduce/Implementation ideas