This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] TrackingListener: Distinguish between failure and "should be dropped"
ClosedPublic

Authored by springerm on Jun 7 2023, 8:37 AM.

Details

Summary

When looking for replacement ops (findReplacementOp) distinguish between "no replacement could be found" and "this op should be dropped from the mapping". The latter case will be utilized in a subsequent revision when a payload op is mapped to a consumed handle.

Depends On: D152374

Diff Detail

Event Timeline

springerm created this revision.Jun 7 2023, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 8:37 AM
springerm requested review of this revision.Jun 7 2023, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 7 2023, 8:37 AM
ftynse accepted this revision.Jun 9 2023, 12:39 AM
ftynse added inline comments.
mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp
305–308

Nit: expand auto

This revision is now accepted and ready to land.Jun 9 2023, 12:39 AM
springerm marked an inline comment as done.Jun 9 2023, 2:35 AM