This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Add a transform dialect op to rewrite ops to destination passing style.
ClosedPublic

Authored by nicolasvasilache on Feb 13 2023, 12:50 PM.

Details

Summary

A new transform dialect op is introduced to perform the rewrite.
The test pass option is now obsolete and is removed in favor of the transform.

In the process I realized the tensor.pad nofold attribute was not taken into account
and added support to emit a bufferization.alloc_tensor + linalg.copy.

Diff Detail

Event Timeline

nicolasvasilache requested review of this revision.Feb 13 2023, 12:50 PM
springerm accepted this revision.Feb 13 2023, 11:58 PM
springerm added inline comments.
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
1942

Is it possible to attach error messages to silenceable failure?

This revision is now accepted and ready to land.Feb 13 2023, 11:58 PM

Update post-rebase

This revision was landed with ongoing or failed builds.Feb 16 2023, 5:39 AM
This revision was automatically updated to reflect the committed changes.