[all-commits] [llvm/llvm-project] 9aaf00: [SCF][Transform] Add transform.loop.fuse_sibling

Kunwar Grover via All-commits all-commits at lists.llvm.org
Sat Aug 19 03:03:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aaf007a982aa9cd0c639c09980962fd772c8eb8
      https://github.com/llvm/llvm-project/commit/9aaf007a982aa9cd0c639c09980962fd772c8eb8
  Author: Groverkss <groverkss at gmail.com>
  Date:   2023-08-19 (Sat, 19 Aug 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/TransformOps/SCFTransformOps.td
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/lib/Dialect/SCF/TransformOps/SCFTransformOps.cpp
    M mlir/lib/Dialect/SCF/Utils/Utils.cpp
    A mlir/test/Dialect/SCF/transform-loop-fuse-sibling.mlir

  Log Message:
  -----------
  [SCF][Transform] Add transform.loop.fuse_sibling

This patch adds a new transform operation `transform.loop.fuse_sibling`,
which given two loops, fuses them, assuming that they are independent.
The transform operation itself performs very basic checks to ensure
IR legality, and leaves the responsibility of ensuring independence on the user.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D157069




More information about the All-commits mailing list