[all-commits] [llvm/llvm-project] b62b21: [mlir][linalg][bufferize][NFC] InsertSliceOp no-co...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Nov 26 05:19:54 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b62b21b98019b46af91365cb6415f8e740cab898
      https://github.com/llvm/llvm-project/commit/b62b21b98019b46af91365cb6415f8e740cab898
  Author: Matthias Springer <springerm at google.com>
  Date:   2021-11-26 (Fri, 26 Nov 2021)

  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

  Log Message:
  -----------
  [mlir][linalg][bufferize][NFC] InsertSliceOp no-copy detection as PostAnalysis

There is special logic for InsertSliceOp to check if a memcpy is needed. This change extracts that piece of code and makes it a PostAnalysisStep.

The purpose of this change is to untangle `bufferize` from BufferizationAliasInfo. (Not fully there yet.)

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




More information about the All-commits mailing list