We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 590a073 commit be6a8c5Copy full SHA for be6a8c5
mlir/lib/Bindings/Python/Rewrite.cpp
@@ -127,7 +127,7 @@ class PyFrozenRewritePatternSet {
127
mlirPythonFrozenRewritePatternSetToCapsule(get()));
128
}
129
130
- static nb::object createFromCapsule(nb::object capsule) {
+ static nb::object createFromCapsule(const nb::object &capsule) {
131
MlirFrozenRewritePatternSet rawPm =
132
mlirPythonCapsuleToFrozenRewritePatternSet(capsule.ptr());
133
if (rawPm.ptr == nullptr)
0 commit comments