[all-commits] [llvm/llvm-project] 181d18: [mlir][Linalg] Insert static buffers as high as po...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Sep 13 08:59:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 181d18ef53db1e5810bf6b905fbafc91da9b5baa
      https://github.com/llvm/llvm-project/commit/181d18ef53db1e5810bf6b905fbafc91da9b5baa
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
    M mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][Linalg] Insert static buffers as high as possible during ComprehensiveBufferization.

This revision allows hoisting static alloc/dealloc pairs as high as possible during ComprehensiveBufferization.
This also aligns such allocated buffers to 128B by default.

This change exhibited some issues wrt insertion points and a missing copy that are also fixed in this revision; tests are updated accordingly.

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




More information about the All-commits mailing list