Skip to content
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

Upgrade BOLT to LLVM OpenMP 11 #80

Merged
merged 6 commits into from
Oct 27, 2020

Conversation

shintaro-iwasaki
Copy link
Collaborator

This PR upgrades BOLT to LLVM OpenMP 11.

AndreyChurbanov and others added 6 commits October 26, 2020 18:41
cherry-pick: 617787ea77a22f752ba1fcd4ac7cb9a62a710756
llvm/llvm-project@617787e
This is to address the issue reported at:
https://bugs.llvm.org/show_bug.cgi?id=46863

Since weak is meaningless for a shared library interface function, this patch
disables the attribute, when the OpenMP library is built as shared library.

ompt_start_tool is not an interface function, but a internally called function
possibly implemented by an OMPT tool.
This function needs to be weak if possible to allow overwriting ompt_start_tool
with a function implementation built into the application.

Differential Revision: https://reviews.llvm.org/D84871

cherry-pick: 03116a9f8c2fc98577e153083aaf9b6a701ab8f9
llvm/llvm-project@03116a9
RTM Adaptive Locks are supported on msys2/mingw for clang and gcc.

Differential Revision: https://reviews.llvm.org/D81776

cherry-pick: bf2aa74e51997ee190f3b34dd26a1b564e59e267
llvm/llvm-project@bf2aa74
Patch by mati865@gmail.com

Differential Revision: https://reviews.llvm.org/D85210

cherry-pick: 4a04bc8995639e1d333790518e4d42e0961f740e
llvm/llvm-project@4a04bc8
Patch by mati865@gmail.com

Differential Revision: https://reviews.llvm.org/D86552

cherry-pick: 1596ea80fdf3410f94ef9a2548701d26cc81c2f5
llvm/llvm-project@1596ea8
@shintaro-iwasaki
Copy link
Collaborator Author

test:bolt/all

@shintaro-iwasaki shintaro-iwasaki merged commit 85b73d3 into pmodels:2.x Oct 27, 2020
@shintaro-iwasaki shintaro-iwasaki deleted the 2.0/upgrade11 branch October 30, 2020 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants