This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][NFC] Simplify identifying the device bitcode library
ClosedPublic

Authored by jhuber6 on Feb 12 2022, 10:16 AM.

Details

Summary

Now that the old device runtime has been deleted there is only a single
target that differs by the triple and the architecture. Simplify the
scheme for identifying the library but directly using the triple.

Diff Detail

Event Timeline

jhuber6 created this revision.Feb 12 2022, 10:16 AM
jhuber6 requested review of this revision.Feb 12 2022, 10:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 12 2022, 10:16 AM
JonChesterfield accepted this revision.Feb 12 2022, 10:35 AM
JonChesterfield added inline comments.
clang/lib/Driver/ToolChains/CommonArgs.cpp
2014–2016

ArchPrefix could be a const char* or stringref as before, one fewer malloc

This revision is now accepted and ready to land.Feb 12 2022, 10:35 AM