This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][transform] Support matching of attributes (and their values)
ClosedPublic

Authored by springerm on Aug 12 2022, 4:00 AM.

Details

Summary

Do not just check if an attribute exists on the payload op. Also check its value.

Diff Detail

Event Timeline

springerm created this revision.Aug 12 2022, 4:00 AM
springerm requested review of this revision.Aug 12 2022, 4:00 AM
nicolasvasilache accepted this revision.Aug 12 2022, 4:04 AM

Can we keep a has_attribute spelling to the dictionary?
Using the default op attribute dictionary for this feels a little wobbly.

This revision is now accepted and ready to land.Aug 12 2022, 4:04 AM
springerm updated this revision to Diff 452157.Aug 12 2022, 5:48 AM

address comments

This revision was landed with ongoing or failed builds.Aug 12 2022, 5:55 AM
This revision was automatically updated to reflect the committed changes.