[Mlir-commits] [mlir] [MLIR][Transform][Python] transform.foreach wrapper and .owner OpViews (PR #171544)
Maksim Levental
llvmlistbot at llvm.org
Sat Dec 13 18:16:01 PST 2025
================
@@ -14,8 +14,10 @@
def _is_constant_int_like(i):
return (
isinstance(i, Value)
- and isinstance(i.owner, Operation)
- and isinstance(i.owner.opview, ConstantOp)
+ and (
+ (isinstance(i.owner, Operation) and isinstance(i.owner.opview, ConstantOp))
----------------
makslevental wrote:
It's fine to just mention in the notes
https://github.com/llvm/llvm-project/pull/171544
More information about the Mlir-commits
mailing list