This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Transform] Expose map layout option in `OneShotBufferizeOp`
ClosedPublic

Authored by chelini on Nov 11 2022, 6:25 AM.

Details

Summary

Expose function-boundary-type-conversion in OneShotBufferizeOp. To
reuse options between passes and transform operations, create a
BufferizationEnums.td.

Diff Detail

Event Timeline

chelini created this revision.Nov 11 2022, 6:25 AM
chelini requested review of this revision.Nov 11 2022, 6:25 AM
springerm added inline comments.Nov 11 2022, 7:15 AM
mlir/include/mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td
54

Can you make this an enum? Similar to OptionalAttr<MatchInterfaceEnum>:$interface, in Dialect/Linalg/TransformOps/LinalgTransformOps.td (MatchOp)? Then we get better IR verification.

chelini retitled this revision from [MLIR][Transform] Expose option in `OneShotBufferizeOp` to [MLIR][Transform] Expose map layout option in `OneShotBufferizeOp`.Nov 14 2022, 8:55 AM
chelini edited the summary of this revision. (Show Details)
springerm accepted this revision.Nov 14 2022, 8:58 AM

Thanks!

This revision is now accepted and ready to land.Nov 14 2022, 8:58 AM
This revision was landed with ongoing or failed builds.Nov 14 2022, 9:10 AM
This revision was automatically updated to reflect the committed changes.