[llvm] [mlir] [MLIR][OpenMP][OMPIRBuilder] Error propagation across callbacks (PR #112533)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 04:40:40 PDT 2024


Meinersbur wrote:

I might have overblown the problem. If with every `Error`/`Expected` we immediately return from the entire call stack, until there is no use of the LLVM-IR, there should not be a lot of things that could go wrong. Clang's use of OpenMPIRBuilder still needs to crash on an erroneous OpenMPIRBuilder call because it doesn't have that `Error`/`Expected` design.

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


More information about the llvm-commits mailing list