[OpenMP][NFC] Simplify identifying the device bitcode library
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 11 Feb 2022 21:44:17 +0000 (16:44 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Sat, 12 Feb 2022 19:55:47 +0000 (14:55 -0500)
commita0e8077d285ad35578677e3e03375cb9f1208e36
tree845d1f8ac939c6dc82f04433613311e33b9a2c50
parent5ffb1047cd0a72f1d07a5f925bc8102400ae5695
[OpenMP][NFC] Simplify identifying the device bitcode library

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.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D119638
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/Cuda.cpp