xlauko wrote: @bcardosolopes @andykaylor In general it might be worthwhile to align more with `ptr` dialect and its modeling of address spaces. Maybe even use `MemorySpaceAttrInterface` directly in out pointer type https://github.com/llvm/llvm-project/pull/161028