[Mlir-commits] [llvm] [mlir] [MLIR][OpenMP][OMPIRBuilder] Error propagation across callbacks (PR #112533)
Tom Eccles
llvmlistbot at llvm.org
Thu Oct 17 04:21:56 PDT 2024
tblah wrote:
I don't feel strongly about this, but I think the proposed solution looks like a step forward. I think it is important that we do error out as soon as possible after an unrecoverable error and I think this is a cleaner way to do that than setting captured variables like `bodyGenStatus`.
I think the value in having some controlled error reporting like this over an assertion is for cases where implementation is still in progress. This allows us to print something more user friendly than a segfault/stack trace. As a reviewer I would read something like these errors as "this is a known limitation or error condition" whereas an assertion as "this is assumed never to happen".
https://github.com/llvm/llvm-project/pull/112533
More information about the Mlir-commits
mailing list