[all-commits] [llvm/llvm-project] 217700: [mlir][bufferization] Support bufferization of ext...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Oct 30 05:49:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 217700baf760ea3959d79c2090e7930144b698a1
      https://github.com/llvm/llvm-project/commit/217700baf760ea3959d79c2090e7930144b698a1
  Author: Matthias Springer <me at m-sp.org>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/lib/Dialect/Bufferization/Transforms/FuncBufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-invalid.mlir
    M mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize.mlir

  Log Message:
  -----------
  [mlir][bufferization] Support bufferization of external functions (#113999)

This commit adds support for bufferizing external functions that have no
body. Such functions were previously rejected by One-Shot Bufferize if
they returned a tensor value.

This commit is in preparation of removing the deprecated
`func-bufferize` pass. That pass can bufferize external functions.

Also update a few comments.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list