[Mlir-commits] [mlir] [mlir][ODS] Allow parameters on side-effect resources (PR #213792)

Mehdi Amini llvmlistbot at llvm.org
Tue Aug 4 03:37:21 PDT 2026


================
@@ -86,6 +86,10 @@ effects on it can alias pointer-based memory; non-addressable resources (e.g.
 runtime state) do not alias with any value-based memory location. The
 canonical definition and API live in `mlir/Interfaces/SideEffectInterfaces.h`.
 
+Resources can attach arbitrary attributes to their effect instances. These
+attributes provide additional metadata about memory effects and can be used,
+for example, to distinguish how a resource is accessed.
----------------
joker-eph wrote:

What does "how a resource is accessed" means here?

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


More information about the Mlir-commits mailing list