[all-commits] [llvm/llvm-project] f20cb3: [mlir][bufferization] Drop the assumption for allo...

Mike via All-commits all-commits at lists.llvm.org
Mon Apr 7 01:55:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f20cb3f8d2d4e97760a1a589290224a33ec60473
      https://github.com/llvm/llvm-project/commit/f20cb3f8d2d4e97760a1a589290224a33ec60473
  Author: Mike <FruitClover at gmail.com>
  Date:   2025-04-07 (Mon, 07 Apr 2025)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/OptimizeAllocationLiveness.cpp
    M mlir/test/Dialect/Bufferization/Transforms/optimize-allocation-liveness.mlir
    M mlir/test/lib/Dialect/Test/TestOps.td

  Log Message:
  -----------
  [mlir][bufferization] Drop the assumption for alloc result index (#134503)

Relax the assumption that alloc op always has allocation at
`getResult(0)`, allow to use `optimize-allocation-liveness` pass for
custom ops with >1 results. Ops with multiple allocations are not
handled here yet.



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