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.
Depends On: D143910
Paths
| Differential D149316
[mlir][memref] Add transform to make alloca ops loop-independent ClosedPublic Authored by springerm on Apr 26 2023, 6:23 PM.
Details Summary 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. Depends On: D143910
Diff Detail
Event Timelinespringerm added a parent revision: D143910: [mlir][tensor] Add transform to make tensor.pad/empty loop-independent.Apr 26 2023, 6:24 PM
springerm marked 7 inline comments as done. Comment Actionsaddress comments
This revision is now accepted and ready to land.May 1 2023, 10:02 AM This revision was landed with ongoing or failed builds.May 3 2023, 10:19 PM Closed by commit rG7610087056f4: [mlir][memref] Add helper to make alloca ops independent (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 519357 mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
mlir/include/mlir/Dialect/MemRef/Transforms/Transforms.h
mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
mlir/lib/Dialect/MemRef/Transforms/CMakeLists.txt
mlir/lib/Dialect/MemRef/Transforms/IndependenceTransforms.cpp
mlir/test/Dialect/MemRef/make-loop-independent.mlir
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
|
can't parse this but maybe it's just me: who's -> whose?