This is an archive of the discontinued LLVM Phabricator instance.

[HIP] do not use -mconstructor-aliases for device
ClosedPublic

Authored by yaxunl on Mar 4 2021, 8:51 AM.

Details

Summary

Like nvptx and some other targets, -mconstructor-aliases does not work well with amdgpu,
therefore we disable it in the same approach.

Diff Detail

Event Timeline

yaxunl created this revision.Mar 4 2021, 8:51 AM
yaxunl requested review of this revision.Mar 4 2021, 8:51 AM
tra accepted this revision.Mar 4 2021, 9:23 AM
This revision is now accepted and ready to land.Mar 4 2021, 9:23 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptMar 5 2021, 5:48 AM