summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorIngo Müller <ingomueller@google.com>2023-09-21 07:22:50 +0000
committerIngo Müller <ingomueller@google.com>2023-09-26 12:56:38 +0000
commitf40e620956c2eebd69223914271b58c18bd1f6ec (patch)
treef7da6dc5dc83c718ae284a280e14cc40368859b1 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parent0219bd3992a1b9c0ae254e3884c6da7880472fa6 (diff)
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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions