[all-commits] [llvm/llvm-project] e654d4: [mlir] Generalize OneShotModuleBufferize to operat...

Evan Liu via All-commits all-commits at lists.llvm.org
Mon Jul 28 19:29:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e654d4e8fd7fc744215084c47e9accce2428346d
      https://github.com/llvm/llvm-project/commit/e654d4e8fd7fc744215084c47e9accce2428346d
  Author: Evan Liu <liuyievan at gmail.com>
  Date:   2025-07-28 (Mon, 28 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/Transforms/OneShotModuleBufferize.h
    M mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/TensorCopyInsertion.cpp
    M mlir/lib/Dialect/SparseTensor/Transforms/SparsificationAndBufferizationPass.cpp
    A mlir/test/Dialect/Bufferization/Transforms/one-shot-non-module-bufferize.mlir
    M mlir/test/lib/Dialect/Bufferization/CMakeLists.txt
    A mlir/test/lib/Dialect/Bufferization/TestOneShotModuleBufferize.cpp
    M mlir/test/lib/Dialect/Test/TestOps.td
    M mlir/tools/mlir-opt/mlir-opt.cpp

  Log Message:
  -----------
  [mlir] Generalize OneShotModuleBufferize to operate on any Operation (#148327)

As part of 2646c36a864aa6a62bc1280e9a8cd2bcd2695349,
`OneShotModuleBufferize` no longer descends into nested symbol tables,
recommending users who wish to do this should do so in a pass
pipeline/custom pass. This did not support the use case of ops that
weren't ModuleOps. The patch updates `OneShotModuleBufferize` to work on
any general op.



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