[Mlir-commits] [mlir] [mlir][transform] Improve error message of tracking listener. (PR #66987)

Ingo Müller llvmlistbot at llvm.org
Thu Sep 21 06:08:08 PDT 2023


================
@@ -1444,16 +1443,20 @@ bool transform::ErrorCheckingTrackingListener::failed() const {
 }
 
 void transform::ErrorCheckingTrackingListener::notifyPayloadReplacementNotFound(
-    Operation *op, ValueRange values) {
+    Operation *op, ValueRange values, ArrayRef<Operation *> aliveUsers) {
   if (status.succeeded()) {
     status = emitSilenceableFailure(
-        getTransformOp(), "tracking listener failed to find replacement op");
----------------
ingomueller-net wrote:

All of that is good input. I now assemble the error message in different places, each contributing the information they have. Please take another look.

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


More information about the Mlir-commits mailing list