This is an archive of the discontinued LLVM Phabricator instance.

mlir/linalg: improve debugging in LinalgTransformOps
ClosedPublic

Authored by artagnon on Dec 2 2022, 4:02 AM.

Details

Summary

Make systematic use of notifyMatchFailure.

Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>

Diff Detail

Event Timeline

artagnon created this revision.Dec 2 2022, 4:02 AM
Herald added a project: Restricted Project. · View Herald Transcript
artagnon requested review of this revision.Dec 2 2022, 4:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 2 2022, 4:02 AM
ftynse added inline comments.Dec 2 2022, 4:08 AM
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
125–127

This isn't the right mechanism. This is intended to be called from within rewrite patterns, and this code isn't a pattern.

artagnon updated this revision to Diff 479591.Dec 2 2022, 4:11 AM

Address @ftynse's review.

artagnon marked an inline comment as done.Dec 2 2022, 4:11 AM

Fixed, thanks.

ftynse accepted this revision.Dec 2 2022, 4:26 AM
This revision is now accepted and ready to land.Dec 2 2022, 4:26 AM

Hi @ftynse. I don't have commit access, so could you commit this change for me? Thanks.

This revision was automatically updated to reflect the committed changes.