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 5b292cd commit 4ca4115Copy full SHA for 4ca4115
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
@@ -2362,14 +2362,6 @@ Expected<SmallVector<StringRef>> linkAndWrapDeviceFiles(
2362
HasNonSYCLOffloadKinds = true;
2363
}
2364
2365
- // Write any remaining device inputs to an output file.
2366
- SmallVector<StringRef> InputFiles;
2367
- for (const OffloadFile &File : Input) {
2368
- auto FileNameOrErr = writeOffloadFile(File);
2369
- if (!FileNameOrErr)
2370
- return FileNameOrErr.takeError();
2371
- InputFiles.emplace_back(*FileNameOrErr);
2372
- }
2373
if (HasSYCLOffloadKind) {
2374
SmallVector<StringRef> InputFiles;
2375
// Write device inputs to an output file for the linker.
0 commit comments