[all-commits] [llvm/llvm-project] 48f04f: [mlir][affine] Normalize constant valued bound loop

Kai Sasaki via All-commits all-commits at lists.llvm.org
Mon Feb 13 19:27:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48f04ffa9f3611a60371c968498c5d3326466f9f
      https://github.com/llvm/llvm-project/commit/48f04ffa9f3611a60371c968498c5d3326466f9f
  Author: Kai Sasaki <lewuathe at gmail.com>
  Date:   2023-02-14 (Tue, 14 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Affine/Utils/Utils.cpp
    M mlir/test/Dialect/Affine/affine-loop-normalize.mlir

  Log Message:
  -----------
  [mlir][affine] Normalize constant valued bound loop

This change aims to resolve the issue reported in https://github.com/llvm/llvm-project/issues/59994.

After calling AffineForOp#setUpperBound and setLowerBound, it makes the original affine map structure inconsistent. It's necessary to keep the original map to build the new induction vars.

Reviewed By: bondhugula

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




More information about the All-commits mailing list