[mlir] Add simple fuzzer for textual format
authorJacques Pienaar <jpienaar@google.com>
Wed, 23 Mar 2022 21:33:50 +0000 (14:33 -0700)
committerJacques Pienaar <jpienaar@google.com>
Wed, 23 Mar 2022 21:33:50 +0000 (14:33 -0700)
commit450692d5b4d7b033c7000ea78a4a7e9da1d1d97f
treefaae837861987586c514862780b4a6ee80452194
parent528e6eba2f7906d974594b1fc50362dfad239609
[mlir] Add simple fuzzer for textual format

Only use this on generic parser for now by not registering any dialect. For flushing out some parser bugs. The textual format is not meant to be load bearing in production runs, but still useful to remove edge cases/failures.

Differential Revision: https://reviews.llvm.org/D122267
mlir/tools/CMakeLists.txt
mlir/tools/mlir-parser-fuzzer/CMakeLists.txt [new file with mode: 0644]
mlir/tools/mlir-parser-fuzzer/DummyParserFuzzer.cpp [new file with mode: 0644]
mlir/tools/mlir-parser-fuzzer/mlir-parser-fuzzer.cpp [new file with mode: 0644]