[all-commits] [llvm/llvm-project] c94b80: [mlir][linalg][bufferize][NFC] Allow returning arb...

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Nov 25 18:32:16 PST 2021


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

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

  Log Message:
  -----------
  [mlir][linalg][bufferize][NFC] Allow returning arbitrary memrefs

If `allowReturnMemref` is set to true, arbitrary memrefs may be returned from FuncOps. Also remove allocation hoisting code, which is only partly implemented at the moment.

The purpose of this commit is to untangle `bufferize` from `aliasInfo`. (Even with this change, they are not fully untangled yet.)

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




More information about the All-commits mailing list