-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ClangLinkerWrapper] Reintroduce missing upstream commits that remove in-house LTO in clang-linker-wrapper #16952
base: sycl
Are you sure you want to change the base?
Conversation
@AlexeySachkov, please, take a look. This seems to duplicate/conflict with #16926. |
…159d95ca6d0823ea Signed-off-by: Arvind Sudarsanam <[email protected]>
Hi @bader I had an offline discussion with @AlexeySachkov and we decided to have a separate PR for bringing in missing upstream commits and do improvements in a separate PR. Thanks |
@@ -285,15 +282,17 @@ Expected<StringRef> createOutputFile(const Twine &Prefix, StringRef Extension) { | |||
return TempFiles.back(); | |||
} | |||
|
|||
Expected<StringRef> writeOffloadFile(const OffloadFile &File) { | |||
// TODO: Remove HasSYCLOffloadKind dependence when aligning with community code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we start using clang-sycl-linker, we can remove dependence on HasSYCLOffloadKind here.
Thanks
Signed-off-by: Arvind Sudarsanam <[email protected]>
Some changes that overlapped with changes in #16884 have been removed from this PR. Thanks |
Signed-off-by: Arvind Sudarsanam <[email protected]>
A couple of upstream commits were not merged due to merge conflicts.
This PR reintroduces the following upstream commits:
Also, This PR restores missing changes from upstream commit aae059e1389bebe86ceb3aea159d95ca6d0823ea](f2f1a14)
Thanks