This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Linalg] Support tensor.parallel_insert_slice in transform.insert_slice_to_copy
ClosedPublic

Authored by nicolasvasilache on Apr 14 2023, 5:59 AM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 14 2023, 5:59 AM
nicolasvasilache requested review of this revision.Apr 14 2023, 5:59 AM
ftynse accepted this revision.Apr 14 2023, 6:05 AM
ftynse added inline comments.
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
3222–3224

Nit: llvm::is_one_of has a variadic template argument.

3231–3237

Nit: unfinished comment .

3232

Nit: if constexpr for more efficient code.

3262

Nit: targetOp should never be null, so just dyn_cast should suffice here.

This revision is now accepted and ready to land.Apr 14 2023, 6:05 AM
nicolasvasilache marked 4 inline comments as done.Apr 14 2023, 6:07 AM

Address comments.

This revision was landed with ongoing or failed builds.Apr 14 2023, 6:11 AM
This revision was automatically updated to reflect the committed changes.