[all-commits] [llvm/llvm-project] f40e62: Reapply "[mlir][transform] Improve error message o...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Tue Sep 26 06:00:34 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f40e620956c2eebd69223914271b58c18bd1f6ec
https://github.com/llvm/llvm-project/commit/f40e620956c2eebd69223914271b58c18bd1f6ec
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-09-26 (Tue, 26 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:
-----------
Reapply "[mlir][transform] Improve error message of tracking listener. (#66987)"
This commit reapplies #66987, which got original contained a memory leak
and got reverted by 78c8ab5844e618162c4cf3982d05102d4da10d23. The leak
is now fixed.
Original description:
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