[all-commits] [llvm/llvm-project] d7ac92: [MLIR] Remove hardcoded usage of alloc/dealloc; us...

Uday Bondhugula via All-commits all-commits at lists.llvm.org
Thu Aug 18 02:24:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d7ac92f27b30f506b72281dd07880414b997fd72
      https://github.com/llvm/llvm-project/commit/d7ac92f27b30f506b72281dd07880414b997fd72
  Author: Uday Bondhugula <uday at polymagelabs.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

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

  Log Message:
  -----------
  [MLIR] Remove hardcoded usage of alloc/dealloc; use memory effects

Remove hardcoded usage of memref.alloc/dealloc ops in affine utils; use memory
effects instead. This is NFC for existing test cases, but strictly more
general/powerful in terms of functionality: it allows other allocation and
freeing ops (like gpu.alloc/dealloc) to work in conjunction with affine ops and
utilities.

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




More information about the All-commits mailing list