[all-commits] [llvm/llvm-project] 761008: [mlir][memref] Add helper to make alloca ops indep...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed May 3 22:19:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7610087056f448eab4ceea9adcf4aac7893958d1
      https://github.com/llvm/llvm-project/commit/7610087056f448eab4ceea9adcf4aac7893958d1
  Author: Matthias Springer <springerm at google.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
    M mlir/include/mlir/Dialect/MemRef/Transforms/Transforms.h
    M mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
    M mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/MemRef/Transforms/IndependenceTransforms.cpp
    A mlir/test/Dialect/MemRef/make-loop-independent.mlir
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [mlir][memref] Add helper to make alloca ops independent

Add a helper function that makes dynamic sizes of `memref.alloca` ops independent of a given set of values. This functionality can be used to make dynamic allocations hoistable from loops.

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




More information about the All-commits mailing list