[all-commits] [llvm/llvm-project] d0d26e: [mlir][python] Hook up PyRegionList.__iter__ to Py...
rk via All-commits
all-commits at lists.llvm.org
Wed May 24 19:17:11 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d0d26ee78cde3402fbc1fe445bcbcfc7606fbcd1
https://github.com/llvm/llvm-project/commit/d0d26ee78cde3402fbc1fe445bcbcfc7606fbcd1
Author: Rahul Kayaith <rkayaith at gmail.com>
Date: 2023-05-24 (Wed, 24 May 2023)
Changed paths:
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/test/python/ir/operation.py
Log Message:
-----------
[mlir][python] Hook up PyRegionList.__iter__ to PyRegionIterator
This fixes a -Wunused-member-function warning, at the moment
`PyRegionIterator` is never constructed by anything (the only use was
removed in D111697), and iterating over region lists is just falling
back to a generic python iterator object.
Reviewed By: stellaraccident
Differential Revision: https://reviews.llvm.org/D150244
More information about the All-commits
mailing list