[all-commits] [llvm/llvm-project] a338f8: [mlir][Linalg] Add transform to convert linalg.cop...

Pablo Antonio Martinez via All-commits all-commits at lists.llvm.org
Tue Apr 1 05:39:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a338f80ddcb97edd275c8bf949b1fab0c7d1049e
      https://github.com/llvm/llvm-project/commit/a338f80ddcb97edd275c8bf949b1fab0c7d1049e
  Author: Pablo Antonio Martinez <pablo.antonio.martinez at huawei.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
    M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
    A mlir/test/Dialect/Linalg/transform-op-linalg-copy-to-memref.mlir

  Log Message:
  -----------
  [mlir][Linalg] Add transform to convert linalg.copy into memref.copy (#132422)

Targeted rewrite of a linalg.copy on memrefs to a memref.copy.

This is useful when bufferizing copies to a linalg.copy, applying some
transformations, and then rewriting the copy into a memref.copy.
If the element types of the source and destination differ, or if the
source is a scalar, the transform produces a silenceable failure.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list