HomePhabricator

Create TestReducer pass

Authored by msifontes on Jul 10 2020, 5:46 PM.

Description

Create TestReducer pass

  • Create a pass that generates bugs based on trivially defined behavior for the purpose of testing the MLIR Reduce Tool.
  • Implement the functionality inside the pass to crash mlir-opt in the presence of an operation with the name "crashOp".
  • Register the pass as a test pass in the mlir-opt tool.

Reviewed by: jpienaar

Differential Revision: https://reviews.llvm.org/D83422

Details

Committed
msifontesJul 10 2020, 5:46 PM
Reviewer
jpienaar
Differential Revision
D83422: Create TestReducer pass
Parents
rG3a5617c02e38: Fix build error
Branches
Unknown
Tags
Unknown