[all-commits] [llvm/llvm-project] e86fe3: [MLIR] Allow Affine scalar replacement to handle i...

William Moses via All-commits all-commits at lists.llvm.org
Thu Jul 1 12:13:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e86fe368db11e43b4b7e84065ba5e8439fc24840
      https://github.com/llvm/llvm-project/commit/e86fe368db11e43b4b7e84065ba5e8439fc24840
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2021-07-01 (Thu, 01 Jul 2021)

  Changed paths:
    M mlir/lib/Analysis/Utils.cpp
    M mlir/test/Dialect/Affine/scalrep.mlir

  Log Message:
  -----------
  [MLIR] Allow Affine scalar replacement to handle inner operations

Affine scalar replacement (and other affine passes, though not fixed here) don't properly handle operations with nested regions. This patch fixes the pass and two affine utilities to function properly given a non-affine internal region

This patch prevents the pass from throwing an internal compiler error when running on the added test case.

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




More information about the All-commits mailing list