[all-commits] [llvm/llvm-project] ae1ea0: [mlir] Decompose Bufferization Clone operation int...

dfki-jugr via All-commits all-commits at lists.llvm.org
Tue Nov 30 01:17:44 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae1ea0bead75f4c7a4c965dfa40b5f3b78b60364
      https://github.com/llvm/llvm-project/commit/ae1ea0bead75f4c7a4c965dfa40b5f3b78b60364
  Author: Julian Gross <julian.gross at dfki.de>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    A mlir/include/mlir/Conversion/BufferizationToMemRef/BufferizationToMemRef.h
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/lib/Conversion/BufferizationToMemRef/BufferizationToMemRef.cpp
    A mlir/lib/Conversion/BufferizationToMemRef/CMakeLists.txt
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/test/Conversion/BufferizationToMemRef/bufferization-to-memref.mlir

  Log Message:
  -----------
  [mlir] Decompose Bufferization Clone operation into Memref Alloc and Copy.

This patch introduces a new conversion to convert bufferization.clone operations
into a memref.alloc and a memref.copy operation. This transformation is needed to
transform all remaining clones which "survive" all previous transformations, before
a given program is lowered further (to LLVM e.g.). Otherwise, these operations
cannot be handled anymore and lead to compile errors.
See: https://llvm.discourse.group/t/bufferization-error-related-to-memref-clone/4665

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




More information about the All-commits mailing list