[all-commits] [llvm/llvm-project] 2108ed: [MLIR] Fix affine.for unroll for multi-result uppe...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Fri Dec 3 17:51:20 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2108ed0671c0581efed8de929c862dbbc3e31c24
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2021-12-04 (Sat, 04 Dec 2021)

  Changed paths:
    M mlir/lib/Transforms/Utils/LoopUtils.cpp
    M mlir/test/Dialect/Affine/unroll-jam.mlir
    M mlir/test/Dialect/Affine/unroll.mlir

  Log Message:
  [MLIR] Fix affine.for unroll for multi-result upper bound maps

Fix affine.for unroll for multi-result upper bound maps: these can't be
unrolled/unroll-and-jammed in cases where the trip count isn't known to
be a multiple of the unroll factor.

Fix and clean up repeated/unnecessary checks/comments at helper callees.

Also, fix clang-tidy variable naming warnings and redundant includes.

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

More information about the All-commits mailing list