[all-commits] [llvm/llvm-project] 1524b0: [MLIR] Add loop coalesce utility for affine.for

arnab-oss via All-commits all-commits at lists.llvm.org
Wed Sep 8 05:33:22 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1524b0154116e2a404dba12c7f9f64c5c8533955
      https://github.com/llvm/llvm-project/commit/1524b0154116e2a404dba12c7f9f64c5c8533955
  Author: Arnab Dutta <arnab at polymagelabs.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Transforms/LoopUtils.h
    M mlir/lib/Transforms/LoopCoalescing.cpp
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Transforms/loop-coalescing.mlir

  Log Message:
  -----------
  [MLIR] Add loop coalesce utility for affine.for

Add loop coalesce utility for affine.for. This expects loops to have
been normalized a-priori. This works for both constant as well non
constant upper bounds having single/multiple result upper bound affine
map.

With contributions from Arnab Dutta and Uday Bondhugula.

Reviewed By: bondhugula, ayzhuang

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




More information about the All-commits mailing list