================
@@ -9300,7 +9300,7 @@ void LinkerWrapper::ConstructJob(Compilation &C, const
JobAction &JA,
// If this is OpenMP the device linker will need `-lompdevice`.
if (Kind == Action::OFK_OpenMP && !Args.hasArg(OPT_no_offloadlib) &&
- (TC->getTriple().isAMDGPU() || TC->getTriple().isNVPTX()))
+ TC->getTriple().isGPU())
----------------
sarnex wrote:
Sorry, can you add a test to `clang/test/Driver/` locking this down?
https://github.com/llvm/llvm-project/pull/180066
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits