[PATCH] D138862: [Clang] Do not set offload kind in a freestanding build
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 28 15:44:16 PST 2022
jhuber6 added a comment.
In D138862#3955461 <https://reviews.llvm.org/D138862#3955461>, @JonChesterfield wrote:
> Does this change the annotation on kernels compiled from C or C++ with -ffreestanding? If so, probably want a test showing the change. I have a vague idea that they pick up a default of 'opencl' at present, where 'none' is probably better. Or perhaps this is only a linker wrapper thing and doesn't make it as far as the HSA metadata.
Just a linker wrapper thing saying, "This was compiled with X offloading language please use its runtime when you link".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138862/new/
https://reviews.llvm.org/D138862
More information about the cfe-commits
mailing list