Added logic to erase all operations within a region. This addresses scenarios where the test script always returns 1 (interesting), in which case the simplest output from mlir-reduce should be an empty ModuleOp.
Added logic to erase all operations within a region. This addresses scenarios where the test script always returns 1 (interesting), in which case the simplest output from mlir-reduce should be an empty ModuleOp.