================
@@ -4174,6 +4174,8 @@ Driver::getOffloadArchs(Compilation &C, const llvm::opt::DerivedArgList &Args,
Targets.insert(Target);
if (ID.isIntelGPU())
----------------
YuriPlyakhin wrote:
`isIntelGPUDeviceCode` ?
https://github.com/llvm/llvm-project/pull/242407