[Mlir-commits] [mlir] [mlir][transform] TrackingListener: Improve dead handles detection (PR #74290)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Mon Dec 4 02:54:04 PST 2023
================
@@ -1319,10 +1339,8 @@ void transform::TrackingListener::notifyOperationReplaced(
// If the op is tracked but no replacement op was found, send a
// notification.
if (!diag.succeeded()) {
- diag.attachNote((*firstAliveUser)->getOwner()->getLoc())
- << "replacement is required because alive handle(s) exist "
- << "(first use in this op as operand number "
- << (*firstAliveUser)->getOperandNumber() << ")";
----------------
ftynse wrote:
Any chance to preserve this? Feels like useful information...
https://github.com/llvm/llvm-project/pull/74290
More information about the Mlir-commits
mailing list