[Mlir-commits] [mlir] [mlir][python] Add `walk` method to PyOperationBase (PR #87962)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Tue Apr 16 02:20:19 PDT 2024
================
@@ -717,17 +717,34 @@ void mlirOperationMoveBefore(MlirOperation op, MlirOperation other) {
return unwrap(op)->moveBefore(unwrap(other));
}
+static mlir::WalkResult translateWalkResult(MlirWalkResult result) {
----------------
ftynse wrote:
```suggestion
static mlir::WalkResult unwrap(MlirWalkResult result) {
```
this is the convention we use for all other types.
https://github.com/llvm/llvm-project/pull/87962
More information about the Mlir-commits
mailing list