[all-commits] [llvm/llvm-project] fc253e: Fixed bug in buffer deallocation pass using unrank...

dfki-jugr via All-commits all-commits at lists.llvm.org
Mon May 10 01:51:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc253e69f9b988e8b2d4c940946146696b2acf5a
      https://github.com/llvm/llvm-project/commit/fc253e69f9b988e8b2d4c940946146696b2acf5a
  Author: Julian Gross <julian.gross at dfki.de>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
    M mlir/test/Conversion/StandardToSPIRV/alloc.mlir
    M mlir/test/Dialect/MemRef/ops.mlir
    M mlir/test/Transforms/buffer-deallocation.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  Fixed bug in buffer deallocation pass using unranked memref types.

In the buffer deallocation pass, unranked memref types are not properly supported.
After investigating this issue, it turns out that the Clone and Dealloc operation
does not support unranked memref types in the current implementation.
This patch adds the missing feature and enables the transformation of any memref
type.

This patch solves this bug: https://bugs.llvm.org/show_bug.cgi?id=48385

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




More information about the All-commits mailing list