[Mlir-commits] [mlir] [mlir][bufferization] Add static memory planner pass for compile-time buffer allocation (PR #205125)

Matthias Springer llvmlistbot at llvm.org
Tue Jun 23 02:19:52 PDT 2026


================

----------------
matthias-springer wrote:

I think this is not correct. E.g.:
```
%0 = alloc() {alignment = 3}
%1 = alloc() {alignment = 7}
```

This requires the arena to be aligned to 21. We need the LCM (least common multiple, `llvm::lcm` instead.) Let's also add a test case for this.


https://github.com/llvm/llvm-project/pull/205125


More information about the Mlir-commits mailing list