[clang] [llvm] [WIP][OpenMP] Remove dependency on `libffi` from offloading runtime (PR #91264)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue May 7 11:45:31 PDT 2024


alexey-bataev wrote:

> > > > > ```llvm
> > > > > struct.anon
> > > > > ```
> > > > 
> > > > 
> > > > Can you provide full IR dump here?
> > > 
> > > 
> > > https://godbolt.org/z/48h5s3W6v
> > 
> > 
> > It does not look like the issue of the target code, I don't see any wrong access for __context. Мост probably something wrong with the host code/runtime.
> 
> Yeah, I think that's correct. Looking at the IR it seems to add the two extra arguments and call them as I'd expect, but for some reason it gets corrupted in the runtime layer. It might be doing something weird with the arguments.

Maybe. The message is emitted on the host, so there is something wrong with the host code or runtime library.

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


More information about the cfe-commits mailing list