[llvm] [CodeExtractor][OpenMP] Allow to specify address space for aggregate arguments structure (PR #66998)
Dominik Adamski via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 04:13:07 PDT 2023
DominikAdamski wrote:
> Why can’t we use the DL AllocaAS always?
Without this patch the outlined function is as follows:
define internal void @__omp_offloading_fd00_2b03043__QQmain_l30..omp_par(ptr noalias noundef %tid.addr, ptr noalias noundef %zero.addr, **ptr addrspace(5)** %0)
Whereas Clang generates the outlined function in the following way:
define internal void @__omp_offloading_fd00_2b03043__QQmain_l30..omp_par(ptr noalias noundef %tid.addr, ptr noalias noundef %zero.addr, **ptr** %0)
https://github.com/llvm/llvm-project/pull/66998
More information about the llvm-commits
mailing list