[all-commits] [llvm/llvm-project] c3613f: [MLIR] Refactor affine tilePerfectlyNestedLoops to...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Tue Mar 28 09:23:56 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c3613f3990098b0c9c5e1931eea51281cd479202
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/LoopUtils.h
    M mlir/lib/Dialect/Affine/Transforms/LoopTiling.cpp
    M mlir/lib/Dialect/Affine/Utils/LoopUtils.cpp

  Log Message:
  [MLIR] Refactor affine tilePerfectlyNestedLoops to drop validity check

The affine loop utility `tilePerfectlyNestedLoops` was checking for the
validity of tiling as well as performing the tiling. This is
inconsistent with how other similar utilities work. Move out the
analysis/check from the utility so that the latter only performs the
mechanics of IR manipulation.

This is NFC/pure move beyond the change in behavior of

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

More information about the All-commits mailing list