[all-commits] [llvm/llvm-project] 06d2fb: [mlir][Linalg] Fix a missing copy when source of i...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Fri Jul 23 00:42:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06d2fb55ca75250f27f46894a692ae8738ccf6de
      https://github.com/llvm/llvm-project/commit/06d2fb55ca75250f27f46894a692ae8738ccf6de
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-07-23 (Fri, 23 Jul 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][Linalg] Fix a missing copy when source of insert_slice is not inplace.

When the source tensor of a tensor.insert_slice is not equivalent to an inplace buffer an extra copy is necessary. This revision adds the missing copy.

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D106587




More information about the All-commits mailing list