[all-commits] [llvm/llvm-project] a75304: [mlir][transform] Improve error message of trackin...

Ingo Müller via All-commits all-commits at lists.llvm.org
Mon Sep 25 04:57:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7530452fd163c84e83e662b549ade7b0fae9edf
      https://github.com/llvm/llvm-project/commit/a7530452fd163c84e83e662b549ade7b0fae9edf
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2023-09-25 (Mon, 25 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Transform/IR/TransformInterfaces.h
    M mlir/lib/Dialect/Transform/IR/TransformInterfaces.cpp
    M mlir/test/Dialect/Transform/test-pattern-application.mlir
    M mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp

  Log Message:
  -----------
  [mlir][transform] Improve error message of tracking listener. (#66987)

This PR extends the error message of the tracking listener when
replacement ops cannot be found. That may happen if the applied patterns
replace an op by an op of a different kind or by block arguments.
However, this only matters if there are alive handles to the replaced
op. The new error message mentions that explicitly and reports the alive
handles.




More information about the All-commits mailing list