Skip to content

A enumerator for MLIR, relying on the information given by IRDL.

Notifications You must be signed in to change notification settings

syheliel/mlir-fuzz

 
 

Repository files navigation

Fuzzing tools for MLIR

The project is highly experimental, and is not currently meant to be used. It aims at deriving fuzzers, reducers, or mutators for MLIR dialects, using IRDL and to avoid generating programs that do not verify.

Building

  • Setup LLVM and IRDL projects
    • git submodule update --init --recursive
    • ./utils/build-llvm.sh
  • Setup CMake
    • ./utils/setup.sh
  • Build the different tools (only mlir-enumerate for now)
    • ./utils/build.sh

Running

First create the generation dir: mkdir generated.

./build/bin/mlir-enumerate dialects/arith.mlir -o generated will run the enumerator with the arith dialect, and generate the programs in the generated folder.

About

A enumerator for MLIR, relying on the information given by IRDL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • MLIR 64.5%
  • C++ 28.5%
  • Python 3.9%
  • CMake 1.9%
  • Shell 1.2%