This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Add AMDGPU calling convention to ctor / dtor functions
ClosedPublic

Authored by jhuber6 on Mar 25 2022, 3:45 PM.

Details

Summary

This patch adds the necessary AMDGPU calling convention to the ctor /
dtor kernels. These are fundamentally device kenels called by the host
on image load. Without this calling convention information the AMDGPU
plugin is unable to identify them.

Depends on D122504

Fixes #54091

Diff Detail

Event Timeline

jhuber6 created this revision.Mar 25 2022, 3:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 3:45 PM
jhuber6 requested review of this revision.Mar 25 2022, 3:45 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 25 2022, 3:45 PM
jhuber6 updated this revision to Diff 418354.Mar 25 2022, 4:14 PM

Making test better.

This revision is now accepted and ready to land.Mar 25 2022, 4:15 PM
jhuber6 updated this revision to Diff 418355.Mar 25 2022, 4:18 PM

Remove leftover code.

This revision was landed with ongoing or failed builds.Mar 25 2022, 7:44 PM
This revision was automatically updated to reflect the committed changes.