Skip to content

Commit 9e23342

Browse files
author
Hugh Delaney
committed
Change obj types to LLVM BC
1 parent 005e012 commit 9e23342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5023,7 +5023,7 @@ class OffloadingActionBuilder final {
50235023
Arg *LibClcInputArg = MakeInputArg(Args, C.getDriver().getOpts(),
50245024
Args.MakeArgString(LibSpirvFile));
50255025
auto *SYCLLibClcInputAction =
5026-
C.MakeAction<InputAction>(*LibClcInputArg, types::TY_Object);
5026+
C.MakeAction<InputAction>(*LibClcInputArg, types::TY_LLVM_BC);
50275027
DeviceLinkObjects.push_back(SYCLLibClcInputAction);
50285028
}
50295029

@@ -5039,7 +5039,7 @@ class OffloadingActionBuilder final {
50395039
MakeInputArg(Args, C.getDriver().getOpts(),
50405040
Args.MakeArgString(LibDeviceFile));
50415041
auto *SYCLDeviceLibInputAction = C.MakeAction<InputAction>(
5042-
*CudaDeviceLibInputArg, types::TY_Object);
5042+
*CudaDeviceLibInputArg, types::TY_LLVM_BC);
50435043
DeviceLinkObjects.push_back(SYCLDeviceLibInputAction);
50445044
}
50455045
}

0 commit comments

Comments
 (0)