This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Correctly diagnose conflicting target identifierers for AMDGPU
ClosedPublic

Authored by jhuber6 on Jun 14 2023, 2:59 PM.

Details

Summary

There are static checks on the target identifiers allowed in a single
TU. Previously theses checks were only applied to HIP even though they
should be the same for OpenMP targeting AMDGPU. Simply enable these
checks for OpenMP.

Diff Detail

Event Timeline

jhuber6 created this revision.Jun 14 2023, 2:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 2:59 PM
jhuber6 requested review of this revision.Jun 14 2023, 2:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2023, 2:59 PM
JonChesterfield accepted this revision.Jun 14 2023, 3:00 PM
This revision is now accepted and ready to land.Jun 14 2023, 3:00 PM
jhuber6 updated this revision to Diff 531531.Jun 14 2023, 3:14 PM

Clang format

yaxunl accepted this revision.Jun 14 2023, 7:03 PM

LGTM. Thanks.