================
@@ -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())
----------------
fineg74 wrote:
Added some test cases
https://github.com/llvm/llvm-project/pull/180066
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits