[Mlir-commits] [mlir] [mlir][OpenMP] cast address space of private variables (PR #130301)

Michael Klemm llvmlistbot at llvm.org
Fri Mar 7 10:05:47 PST 2025


mjklemm wrote:

> This LGTM, I imagine we're allocating the private variable in the kernel in the alloca address space and then needing to cast it to the program address space for usage. Seems reasonable to me! Not too sure/can't comment on if there's anything special the AMDGPU backend needs for private variables though, I doubt it and I'm sure we'll find out soon enough if so though :-)

I have touch tested this with a bunch of kernels and it has worked for them.  So, I hope that no further downstream fix will be needed.

https://github.com/llvm/llvm-project/pull/130301


More information about the Mlir-commits mailing list