Skip to content
Unverified Commit 991cb147 authored by Ingo Müller's avatar Ingo Müller Committed by GitHub
Browse files

[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.
parent 59896c16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment