[Mlir-commits] [mlir] [mlir] Accept OpaqueAttr as a valid memory space if the context allows unregistered dialects (PR #187682)

Jacques Pienaar llvmlistbot at llvm.org
Sat Apr 11 23:29:25 PDT 2026


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

----------------
jpienaar wrote:

if (isa<OpaqueAttr>(memorySpace)) return memorySpace.getContext()->allowsUnregisteredDialects();

Would be more efficient here.

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


More information about the Mlir-commits mailing list