[Mlir-commits] [mlir] [mlir][transforms] Add `signalPassFailure` in RemoveDeadValues (PR #112199)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Oct 14 22:49:27 PDT 2024


MaheshRavishankar wrote:

> Sorry, I'm still having trouble understanding how to check for `signalPassFailure` in mlir-opt. I know `expected-error` and `verify-diagnostics` can check for `emitError`, but I'm not sure how to handle `signalPassFailure`.

Emit an error message before the `return signalPassFailure` and check for the error message?

https://github.com/llvm/llvm-project/pull/112199


More information about the Mlir-commits mailing list