[all-commits] [llvm/llvm-project] 26645a: [mlir][memref] Fix hoist-static-allocs option of b...

Menooker via All-commits all-commits at lists.llvm.org
Wed Sep 4 05:36:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26645ae2eea00456d98b497f348426c375409ce4
      https://github.com/llvm/llvm-project/commit/26645ae2eea00456d98b497f348426c375409ce4
  Author: Menooker <yijie.mei at intel.com>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
    M mlir/test/Transforms/buffer-results-to-out-params-elim.mlir

  Log Message:
  -----------
  [mlir][memref] Fix hoist-static-allocs option of buffer-results-to-out-params when function parameters are returned (#102093)

buffer-results-to-out-params pass will have a nullptr-referencing error
when hoist-static-allocs option is on, when the return value of a
function is a parameter of the function. This PR fixes this issue.



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