[Mlir-commits] [mlir] [MLIR][Python] Fix typeid support for DynamicType and DynamicAttr (PR #183076)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Feb 25 05:19:06 PST 2026
================
@@ -1436,6 +1443,15 @@ void PyDynamicAttribute::bindDerived(ClassTy &c) {
return std::string(dialectNamespace.data, dialectNamespace.length) + "." +
std::string(name.data, name.length);
});
+ c.def_static(
+ "get_typeid",
----------------
PragmaTwice wrote:
renamed to `lookup_typeid`.
https://github.com/llvm/llvm-project/pull/183076
More information about the Mlir-commits
mailing list