[all-commits] [llvm/llvm-project] f49d06: [MLIR] Make promote single iteration optional on a...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Mon Nov 28 18:29:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f49d069ac03baffd64b22792001ec40f973b3178
      https://github.com/llvm/llvm-project/commit/f49d069ac03baffd64b22792001ec40f973b3178
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-11-29 (Tue, 29 Nov 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Affine/Passes.h
    M mlir/include/mlir/Dialect/Affine/Passes.td
    M mlir/include/mlir/Dialect/Affine/Utils.h
    M mlir/lib/Dialect/Affine/Transforms/AffineLoopNormalize.cpp
    M mlir/lib/Dialect/Affine/Utils/Utils.cpp
    M mlir/test/Dialect/Affine/affine-loop-normalize.mlir

  Log Message:
  -----------
  [MLIR] Make promote single iteration optional on affine-loop-normalize

Make promote single iteration optional on affine-loop-normalize:
introduce a command-line flag and an argument on the utility. Disable it
by default since such a promotion isn't normally expected with loop
normalization: it could drop certain structure or information on the
loops that a user wanted to preserve.

Reviewed By: dcaballe

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




More information about the All-commits mailing list