[all-commits] [llvm/llvm-project] 4fbb5f: [mlir] introduce transform.loop.forall_to_for (#65...

ftynse via All-commits all-commits at lists.llvm.org
Wed Sep 20 09:53:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4fbb5f93506317f063753c2b4aecebc86d63264e
      https://github.com/llvm/llvm-project/commit/4fbb5f93506317f063753c2b4aecebc86d63264e
  Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.h
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    A mlir/test/Dialect/SCF/transform-op-forall-to-for.mlir

  Log Message:
  -----------
  [mlir] introduce transform.loop.forall_to_for (#65474)

Add a straightforward sequentialization transform from `scf.forall` to a
nest of `scf.for` in absence of results and expose it as a transform op.
This is helpful in combination with other transform ops, particularly
fusion, that work best on parallel-by-construction `scf.forall` but
later need to target sequential `for` loops.




More information about the All-commits mailing list