[all-commits] [llvm/llvm-project] 1fb096: [MLIR][Affine] Fix affine scalrep - add missing check

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Wed Jan 11 22:19:47 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fb096e0e3f78b44991d90850d3189a812341267
      https://github.com/llvm/llvm-project/commit/1fb096e0e3f78b44991d90850d3189a812341267
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

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

  Log Message:
  -----------
  [MLIR][Affine] Fix affine scalrep - add missing check

This fixes https://github.com/llvm/llvm-project/issues/59461

Add missing check in affine-scalrep pass that led to scalrep assert or
wrong scalrep when dead affine region ops existed in the same block.

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




More information about the All-commits mailing list