[all-commits] [llvm/llvm-project] 0e5f25: [mlir][linalg][bufferize][NFC] Simplify InsertSlic...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Jan 6 00:40:59 PST 2022


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.h
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/TensorInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp
    M mlir/test/lib/Dialect/Linalg/TestComprehensiveBufferize.cpp

  Log Message:
  -----------
  [mlir][linalg][bufferize][NFC] Simplify InsertSliceOp bufferization

No need to keep track of equivalent extract_slice / insert_slice tensors during bufferization. Just emit a copy, it will fold away.

Note: The analysis still keeps track of equivalent tensors to make the correct inplace bufferization decisions.

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




More information about the All-commits mailing list