[all-commits] [llvm/llvm-project] 9819cb: [MLIR] Clean up checks for alloc-like ops in analysis

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Sat Jul 16 00:25:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9819cbda0c87c44d339804696601d0f96150fcf5
      https://github.com/llvm/llvm-project/commit/9819cbda0c87c44d339804696601d0f96150fcf5
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-07-16 (Sat, 16 Jul 2022)

  Changed paths:
    M mlir/include/mlir/Interfaces/SideEffectInterfaces.h
    M mlir/lib/Dialect/Affine/Analysis/AffineAnalysis.cpp
    M mlir/lib/Interfaces/SideEffectInterfaces.cpp

  Log Message:
  -----------
  [MLIR] Clean up checks for alloc-like ops in analysis

Clean up checks for alloc-like ops in analysis. Use the analysis
utility to properly check for the desired kind of effects. The previous
locality utility worked for all practical purposes but wasn't sound and
was locally duplicate code. Instead, use mlir::hasSingleEffect.

Reviewed By: rriddle

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




More information about the All-commits mailing list