This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][transform][python] Add mix-in for MaskedVectorize.
ClosedPublic

Authored by ingomueller-net on Aug 11 2023, 10:35 AM.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptAug 11 2023, 10:35 AM
ingomueller-net requested review of this revision.Aug 11 2023, 10:35 AM
springerm accepted this revision.Aug 14 2023, 12:45 AM
springerm added inline comments.
mlir/test/python/dialects/transform_structured_ext.py
243–244

This shouldn't be CHECK-DAG: V0 must appear before the masked_vectorize

This revision is now accepted and ready to land.Aug 14 2023, 12:45 AM
  • Changing CHECK directives as suggested by @springerm.
ingomueller-net marked an inline comment as done.Aug 16 2023, 6:04 AM
  • Rebase onto current main (with merge conflict).

This change appears to have broken the Windows bot: https://lab.llvm.org/buildbot/#/builders/13/builds/38970/steps/7/logs/stdio

  File "c:\buildbot\mlir-x64-windows-ninja\build\tools\mlir\python_packages\mlir_core\mlir\dialects\_structured_transform_ops_ext.py", line 31, in <module>
    ) -> tuple[list[ValueLike], list[int] | ArrayAttr, list[bool]]:
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'pybind11_type'

Thanks for notifying! I just pushed d7e26b56207cbd8995296c5bb7c11ce676b649da to fix it.