This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget] Drop assert.h, use freestanding for amdgcn devicertl
ClosedPublic

Authored by JonChesterfield on Mar 15 2021, 11:21 AM.

Details

Summary

[libomptarget] Drop assert.h, use freestanding for amdgcn devicertl

Promotes the runtime assert to a link time error for the unimplemented
fallback functions. Enables amdgcn to build with only clang provided
headers, which makes it less likely to break other builds when enabled.

Diff Detail

Event Timeline

JonChesterfield requested review of this revision.Mar 15 2021, 11:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 15 2021, 11:21 AM
This revision is now accepted and ready to land.Mar 15 2021, 11:40 AM
This revision was landed with ongoing or failed builds.Mar 15 2021, 11:50 AM
This revision was automatically updated to reflect the committed changes.