This is an archive of the discontinued LLVM Phabricator instance.

[mlir] improve the error message in expensive transform checks
ClosedPublic

Authored by ftynse on Sep 13 2022, 6:58 AM.

Details

Summary

Include the transform op being applied when reporting it using an invalidated
handle. This was missing previously and made it harder for the user to
understand where the handle is being used, especially if the transform script
included some sort of iteration.

Diff Detail

Event Timeline

ftynse created this revision.Sep 13 2022, 6:58 AM
ftynse requested review of this revision.Sep 13 2022, 6:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 13 2022, 6:58 AM
guraypp accepted this revision.Sep 13 2022, 7:56 AM

looks good to me. It is a useful feedback for the user to understand what is going on in the conversion dialect.

This revision is now accepted and ready to land.Sep 13 2022, 7:56 AM