[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:

Let's cast to `FunctionOpInterface` instead of `func::FuncOp`. Also, with the `InterfacePass` change above, you can use `llvm::cast` and drop the `if`-check. The `InterfacePass` will guarantee that the `runOnOperation` function will be run only with `FunctionOpInterface` ops.

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


More information about the Mlir-commits mailing list