================ @@ -4886,6 +4886,10 @@ Action *Driver::BuildOffloadingActions(Compilation &C, // individually. for (Action *&A : DeviceActions) { if ((A->getType() != types::TY_Object && + !(A->getOffloadingToolChain() && + A->getOffloadingToolChain()->getTriple().getOS() == + llvm::Triple::OSType::AMDHSA && + A->getOffloadingToolChain()->getTriple().isSPIRV()) && ---------------- arsenm wrote:
demorgan condition and/or extract this into some kind of named predicate with a comment https://github.com/llvm/llvm-project/pull/150110 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits