[all-commits] [llvm/llvm-project] 991cb1: [mlir][memref][transform] Add new alloca_to_global...
Ingo Müller via All-commits
all-commits at lists.llvm.org
Thu Sep 21 09:17:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 991cb147152ab22ad0bc9f642fc221eccd2b8e37
https://github.com/llvm/llvm-project/commit/991cb147152ab22ad0bc9f642fc221eccd2b8e37
Author: Ingo Müller <ingomueller at google.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M mlir/include/mlir/Dialect/MemRef/TransformOps/MemRefTransformOps.td
M mlir/lib/Dialect/MemRef/TransformOps/MemRefTransformOps.cpp
M mlir/python/mlir/dialects/_memref_transform_ops_ext.py
M mlir/test/Dialect/MemRef/transform-ops.mlir
M mlir/test/python/dialects/transform_memref_ext.py
Log Message:
-----------
[mlir][memref][transform] Add new alloca_to_global op. (#66511)
This PR adds a new transform op that replaces `memref.alloca`s with
`memref.get_global`s to newly inserted `memref.global`s. This is useful,
for example, for allocations that should reside in the shared memory of
a GPU, which have to be declared as globals.
More information about the All-commits
mailing list