[all-commits] [llvm/llvm-project] c05ce9: [MLIR][Python] fix getOwner to return (typed) nb::...
Maksim Levental via All-commits
all-commits at lists.llvm.org
Sat Oct 25 18:49:07 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c05ce9b0057c9b1413bee964bb2d400ffbddede5
https://github.com/llvm/llvm-project/commit/c05ce9b0057c9b1413bee964bb2d400ffbddede5
Author: Maksim Levental <maksim.levental at gmail.com>
Date: 2025-10-26 (Sun, 26 Oct 2025)
Changed paths:
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/test/python/ir/operation.py
Log Message:
-----------
[MLIR][Python] fix getOwner to return (typed) nb::object instead of abstract PyOpView (#165053)
https://github.com/llvm/llvm-project/pull/157930 changed `nb::object
getOwner()` to `PyOpView getOwner()` which implicitly constructs the
generic OpView against from a (possibly) concrete OpView. This PR fixes
that.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list