-
Notifications
You must be signed in to change notification settings - Fork 795
[ClangLinkerWrapper] Reintroduce missing upstream commits that remove in-house LTO in clang-linker-wrapper #16952
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
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 |
| } | ||
|
|
||
| Expected<StringRef> writeOffloadFile(const OffloadFile &File) { | ||
| // TODO: Remove HasSYCLOffloadKind dependence when aligning with community code. |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
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]>
| std::scoped_lock Guard(ImageMtx); | ||
| WrappedOutput.push_back(*OutputFile); | ||
| } | ||
| if (HasNonSYCLOffloadKinds) { |
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.
If this if is supposed to be aligned to the upstream code, then I would suggest to add an explicit comment about it - it should help pulldown coordinators when dealing with merge conflicts
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.
I thought about this. I would prefer to track this more closely in the future than rely on co-ordinators to deal with merge conflicts.
Thanks
|
@intel/llvm-gatekeepers I think this is ready to be merged. Thanks |
ldrumm
left a comment
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.
Authorship is not maintained. Please redo this with the original commits you list, and then someone with permissions will need to do a proper merge
Good point. Let me take a look. It might require a new PR though. Thanks |
|
I opened #17323 Thanks |
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