This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] Add transform.select op
ClosedPublic

Authored by springerm on Jul 11 2023, 5:58 AM.

Details

Summary

This transform op can be used to select all payload ops with a given name from a handle.

Diff Detail

Event Timeline

springerm created this revision.Jul 11 2023, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 5:58 AM
springerm requested review of this revision.Jul 11 2023, 5:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 11 2023, 5:58 AM
nicolasvasilache accepted this revision.Jul 11 2023, 6:33 AM
This revision is now accepted and ready to land.Jul 11 2023, 6:33 AM
This revision was landed with ongoing or failed builds.Jul 11 2023, 7:25 AM
This revision was automatically updated to reflect the committed changes.
ftynse added inline comments.Jul 12 2023, 9:17 AM
mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
863–864

Longer-term, we should use a region with MatchOps as a conjunction/disjunction of constraints.