This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by springerm on Feb 15 2023, 3:34 AM.

Details

Summary

This transform op returns a value handle pointing to the specified OpResult of the targeted op.

Diff Detail

Event Timeline

springerm created this revision.Feb 15 2023, 3:34 AM
springerm requested review of this revision.Feb 15 2023, 3:34 AM
ftynse added inline comments.Feb 15 2023, 3:41 AM
mlir/include/mlir/Dialect/Transform/IR/TransformOps.td
235

Please specify memory effects on handles.

mlir/test/Dialect/Transform/test-interpreter.mlir
1204–1205

Nit: can we use !transform.any_op instead of pdl here?

ftynse accepted this revision.Feb 15 2023, 3:41 AM
This revision is now accepted and ready to land.Feb 15 2023, 3:41 AM
springerm marked 2 inline comments as done.Feb 15 2023, 5:21 AM
This revision was automatically updated to reflect the committed changes.