This is an archive of the discontinued LLVM Phabricator instance.

[mlir] verify that transform ops have memory effects
ClosedPublic

Authored by ftynse on Jan 10 2023, 4:21 AM.

Details

Summary

Add a verifier to the TransformOpInterface ensuring that operations
implementing the interface define memory effects on their operands and
results.

Add the missing effects to TileToForeachThreadOp, specifically for
operands that were added at a later version of the op without modifying
getEffects accordingly.

Diff Detail

Event Timeline

ftynse created this revision.Jan 10 2023, 4:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 4:21 AM
ftynse requested review of this revision.Jan 10 2023, 4:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 10 2023, 4:21 AM
nicolasvasilache accepted this revision.Jan 10 2023, 4:28 AM
This revision is now accepted and ready to land.Jan 10 2023, 4:28 AM
This revision was automatically updated to reflect the committed changes.