We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86491a8 commit 5f452efCopy full SHA for 5f452ef
clang/lib/Driver/Driver.cpp
@@ -5288,7 +5288,7 @@ Action *Driver::ConstructPhaseAction(
5288
Input->getOffloadingToolChain()->getTriple().isAMDGPU() &&
5289
TargetDeviceOffloadKind != Action::OFK_None) ||
5290
TargetDeviceOffloadKind == Action::OFK_HIP) &&
5291
- UseSPIRVBackendForHipDeviceOnlyNoRDC &&
+ !UseSPIRVBackendForHipDeviceOnlyNoRDC &&
5292
((Args.hasFlag(options::OPT_fgpu_rdc, options::OPT_fno_gpu_rdc,
5293
false) ||
5294
(Args.hasFlag(options::OPT_offload_new_driver,
0 commit comments