[Mlir-commits] [mlir] [mlir:linalg:py] Undo unintentional type narrowing from #214539. (PR #217543)

Ingo Müller llvmlistbot at llvm.org
Thu Aug 20 03:52:16 PDT 2026


================
@@ -549,8 +549,8 @@ def __init__(
         loop_types: Union[Type, List[Type]],
         target: Union[Operation, Value],
         *,
-        sizes: MixedValues = None,
-        interchange: MixedValues = None,
+        sizes: MixedValues | DynamicIndexList | None = None,
+        interchange: MixedValues | DynamicIndexList | None = None,
----------------
ingomueller-net wrote:

I guess you are right. It's been some time that I really worked with this part of the code, so I did this change quite mechanically. I only ran into problems with `sizes`, so changing that fixes my immediate problem.

https://github.com/llvm/llvm-project/pull/217543


More information about the Mlir-commits mailing list