Skip to content

Commit 8e8a0ef

Browse files
Resolve conflict.
1 parent 81fa084 commit 8e8a0ef

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
@@ -1086,7 +1086,7 @@ void Driver::CreateOffloadingDeviceToolChains(Compilation &C,
10861086
bool HasValidSYCLRuntime =
10871087
C.getInputArgs().hasFlag(options::OPT_fsycl, options::OPT_fno_sycl,
10881088
false) ||
1089-
hasSYCLDeviceOnly(C.getInputArgs());
1089+
C.getInputArgs().hasArg(options::OPT_fsycl_device_only);
10901090
bool IsSYCLOffloadArchEnabled =
10911091
HasValidSYCLRuntime &&
10921092
C.getInputArgs().hasArg(options::OPT_offload_arch_EQ);

0 commit comments

Comments
 (0)