Skip to content

Commit 5f452ef

Browse files
committed
Fix typo in last commit.
1 parent 86491a8 commit 5f452ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5288,7 +5288,7 @@ Action *Driver::ConstructPhaseAction(
52885288
Input->getOffloadingToolChain()->getTriple().isAMDGPU() &&
52895289
TargetDeviceOffloadKind != Action::OFK_None) ||
52905290
TargetDeviceOffloadKind == Action::OFK_HIP) &&
5291-
UseSPIRVBackendForHipDeviceOnlyNoRDC &&
5291+
!UseSPIRVBackendForHipDeviceOnlyNoRDC &&
52925292
((Args.hasFlag(options::OPT_fgpu_rdc, options::OPT_fno_gpu_rdc,
52935293
false) ||
52945294
(Args.hasFlag(options::OPT_offload_new_driver,

0 commit comments

Comments
 (0)