[all-commits] [llvm/llvm-project] 30fd90: [mlir][bufferization] Address review feedback on a...

Krish Gupta via All-commits all-commits at lists.llvm.org
Sun Jul 19 14:58:03 PDT 2026


  Branch: refs/heads/users/KrxGu/arith-select-dealloc
  Home:   https://github.com/llvm/llvm-project
  Commit: 30fd90d09690c96a63076c1df77d100448213f74
      https://github.com/llvm/llvm-project/commit/30fd90d09690c96a63076c1df77d100448213f74
  Author: KrxGu <krishom70 at gmail.com>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/Transforms/StaticMemoryPlannerAnalysis.cpp
    M mlir/test/Dialect/Bufferization/Transforms/static-memory-planner-analysis.mlir
    A mlir/test/Dialect/Bufferization/Transforms/static-memory-planner-errors.mlir

  Log Message:
  -----------
  [mlir][bufferization] Address review feedback on arith.select dealloc pass

- Use BufferViewFlowOpInterface instead of hardcoded arith::SelectOp check,
  so any future op implementing the interface is handled automatically
- Error out (not skip) when no dealloc or cross-block dealloc is found;
  the only valid skip is dynamic shapes
- Remove redundant potentialCandidates vector copy in collectCandidates
- Replace erasedDeallocs with deallocsToErase set in rewriteAllocations
- Remove outdated comment about group constraint
- Add error tests for missing-dealloc and cross-block cases



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