[all-commits] [llvm/llvm-project] 7f58ff: [mlir][python] Yield results of `scf.for_` (#93610)

Guray Ozen via All-commits all-commits at lists.llvm.org
Tue May 28 23:43:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
      https://github.com/llvm/llvm-project/commit/7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
  Author: Guray Ozen <guray.ozen at gmail.com>
  Date:   2024-05-29 (Wed, 29 May 2024)

  Changed paths:
    M mlir/python/mlir/dialects/scf.py
    M mlir/test/python/dialects/scf.py

  Log Message:
  -----------
  [mlir][python] Yield results of `scf.for_` (#93610)

Using `for_` is very hand with python bindings. Currently, it doesn't
support results, we had to fallback to two lines scf.for.

This PR yields results of scf.for in `for_`

---------

Co-authored-by: Maksim Levental <maksim.levental at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list