This is an archive of the discontinued LLVM Phabricator instance.

[mlir] add interchange, pad and scalarize to structured transform dialect
AbandonedPublic

Authored by ftynse on May 27 2022, 7:33 AM.

Details

Reviewers
nicolasvasilache
Summary

Add ops to the structured transform extension of the transform dialect that
perform interchange, padding and scalarization on structured ops. Along with
tiling that is already defined, this provides a minimal set of transformations
necessary to build vectorizable code for a single structured op.

Define two helper traits: one that implements TransformOpInterface by applying
a function to each payload op independently and another that provides a simple
"functional-style" producer/consumer list of memory effects for the transform
ops.

Diff Detail

Event Timeline

ftynse created this revision.May 27 2022, 7:33 AM
ftynse requested review of this revision.May 27 2022, 7:33 AM
ftynse abandoned this revision.May 27 2022, 7:34 AM

Accidental duplicate.

mlir/test/Dialect/Linalg/transform-op-scalarize.mlir