[all-commits] [llvm/llvm-project] 7e133e: [mlir][bufferize] Add filterFn option to BufferRes...

Emilio Cota via All-commits all-commits at lists.llvm.org
Thu Nov 3 10:09:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e133eb49b35b1648de786f21f38db084f597b7f
      https://github.com/llvm/llvm-project/commit/7e133eb49b35b1648de786f21f38db084f597b7f
  Author: Emilio Cota <ecg at google.com>
  Date:   2022-11-03 (Thu, 03 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.h
    M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp

  Log Message:
  -----------
  [mlir][bufferize] Add filterFn option to BufferResultsToOutParams

This allows users to restrict the transformation to a
subset of the functions in a module.

For example, a user might want to apply the transformation to
a module's entry point, but not to the calls in the module
because those calls might refer to external C functions outside
of their control.

Reviewed By: springerm, nicolasvasilache
Differential Revision: https://reviews.llvm.org/D137264




More information about the All-commits mailing list