[llvm] [OFFLOAD][OMP] Move OpenMP kernel argument processing from plugins (PR #213867)

Kevin Sala Penades via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 5 23:40:36 PDT 2026


================

----------------
kevinsala wrote:

```suggestion
  for (uint32_t I = 0; I < NumArgs; ++I) {
    Args[I] = reinterpret_cast<void *>(reinterpret_cast<intptr_t>(TgtArgs[I]) +
                                       TgtOffsets[I]);
    Ptrs[I] = &Args[I];
  }
```

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


More information about the llvm-commits mailing list