[all-commits] [llvm/llvm-project] 9cc417: [mlir][affine] Fix unfolded bounding maps for affi...

Yueh-Ting Chen via All-commits all-commits at lists.llvm.org
Mon Apr 12 11:43:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cc417cbca1cece0d55fa3d1e15682943a06139e
      https://github.com/llvm/llvm-project/commit/9cc417cbca1cece0d55fa3d1e15682943a06139e
  Author: eopXD <eopxd at skymizer.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M mlir/lib/Dialect/Affine/IR/AffineOps.cpp
    M mlir/test/Dialect/Affine/canonicalize.mlir

  Log Message:
  -----------
  [mlir][affine] Fix unfolded bounding maps for affine.for

Loop bounds of affine.for didn't perform foldings like affine.load, affine.store.
Bound maps shall be more composed, leaving most affine.apply become dead.

This resolves the bug listed on https://bugs.llvm.org/show_bug.cgi?id=45203

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




More information about the All-commits mailing list