File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
# RUN: not clang-sycl-linker %t.bar.bc %t.baz.bc -triple=spirv64 --dry-run -o a.spv --print-linked-module 2>&1 | FileCheck %s --check-prefix=CHECK-MULTIPLE-DEFS
8
8
9
- # RUN: clang-sycl-linker %t.foo.bc %t.bar.bc -device-libs=%t.libsycl.bc -library-path=/ -triple=spirv64 --dry-run -o a.spv --print-linked-module 2>&1 | FileCheck %s --check-prefix=CHECK-DEVICE-LIB
9
+ # RUN: clang-sycl-linker %t.foo.bc %t.bar.bc -device-libs=%t.libsycl.bc -library-path= -triple=spirv64 --dry-run -o a.spv --print-linked-module 2>&1 | FileCheck %s --check-prefix=CHECK-DEVICE-LIB
10
10
11
11
; CHECK-SIMPLE: define {{.*}}foo_func1{{.*}}
12
12
; CHECK-SIMPLE: define {{.*}}foo_func2{{.*}}
Original file line number Diff line number Diff line change @@ -223,8 +223,6 @@ Expected<SmallVector<std::string>> getSYCLDeviceLibs(const ArgList &Args) {
223
223
StringRef LibraryPath;
224
224
if (Arg *A = Args.getLastArg (OPT_library_path_EQ))
225
225
LibraryPath = A->getValue ();
226
- if (LibraryPath.empty ())
227
- return DeviceLibFiles;
228
226
if (Arg *A = Args.getLastArg (OPT_device_libs_EQ)) {
229
227
if (A->getValues ().size () == 0 )
230
228
return createStringError (
You can’t perform that action at this time.
0 commit comments