[Mlir-commits] [mlir] [mlir][gpu] Propagate errors from `ModuleToObject` callbacks (PR #170134)
Fabian Mora
llvmlistbot at llvm.org
Mon Dec 1 05:47:34 PST 2025
https://github.com/fabianmcg commented:
In general LGTM, the only change I would make is:
- Passing a Location as well to the callbacks
- Let the callback handle the error message, so no `getOperation().emitError() << "ISACallback failed.";`
I'd argue that this is already a wanted change, as I could have a custom out of tree LLVM pass running at any of the LLVM callback levels that could fail.
https://github.com/llvm/llvm-project/pull/170134
More information about the Mlir-commits
mailing list