This is an archive of the discontinued LLVM Phabricator instance.

Adopt Properties to store operations inherent Attributes in the Transform dialect
ClosedPublic

Authored by mehdi_amini on Apr 21 2023, 9:38 AM.

Details

Summary

This is part of an on-going migration to adopt Properties inside MLIR.

Diff Detail

Event Timeline

mehdi_amini created this revision.Apr 21 2023, 9:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 21 2023, 9:38 AM
mehdi_amini requested review of this revision.Apr 21 2023, 9:38 AM
ftynse added a subscriber: ftynse.Apr 22 2023, 2:05 PM
ftynse added inline comments.
mlir/test/Dialect/Transform/ops-invalid.mlir
352

Should this say "requires property"? The attribute seems to be there.

mehdi_amini marked an inline comment as done.

Rebase after improving diagnostic on invalid IR

mlir/test/Dialect/Transform/ops-invalid.mlir
352

It fails the validation, I made failure_propagation_mode valid so that we keep the expected check for the target attribute.

rriddle accepted this revision.Apr 23 2023, 11:07 PM
This revision is now accepted and ready to land.Apr 23 2023, 11:07 PM
ftynse accepted this revision.Apr 24 2023, 12:36 AM
This revision was landed with ongoing or failed builds.May 15 2023, 3:36 PM
This revision was automatically updated to reflect the committed changes.