[all-commits] [llvm/llvm-project] 8835a1: [mlir][linalg][bufferize] Allow non-tensor mapping...

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Nov 15 02:40:51 PST 2021


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

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.h
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Linalg/ComprehensiveBufferize/ComprehensiveBufferize.cpp

  Log Message:
  -----------
  [mlir][linalg][bufferize] Allow non-tensor mappings in BufferizationState

This change makes it possible to set up custom mappings in a PostAnalysisStep. Some users of Comprehensive Bufferize have custom tensor types and it is most convenient to just reuse the same bvm.

Also add some more assertions.

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




More information about the All-commits mailing list