[all-commits] [llvm/llvm-project] b8d075: [mlir][linalg][bufferize] Fix copy elision in `get...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jan 7 07:19:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b8d075369468198a19a1f1f7e9b76a82342d3678
      https://github.com/llvm/llvm-project/commit/b8d075369468198a19a1f1f7e9b76a82342d3678
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-01-08 (Sat, 08 Jan 2022)

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

  Log Message:
  -----------
  [mlir][linalg][bufferize] Fix copy elision in `getResultBuffer`

A buffer copy may not be elided if the to-be-bufferized op is reading the data.

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




More information about the All-commits mailing list