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

Update compiler-rt to LLVM 19.1.4 #22937

Merged
merged 15 commits into from
Dec 21, 2024

Conversation

aheejin
Copy link
Member

@aheejin aheejin commented Nov 15, 2024

All changes are upstream changes except for a few unused variable warning fixes and code size rebaselines.

This PR was created by running https://github.com/emscripten-core/emscripten/blob/main/system/lib/update_compiler_rt.py script.

@aheejin aheejin changed the title Update compiler-rt to LLVM 19.1.3 Update compiler-rt to LLVM 19.1.4 Nov 20, 2024
This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (9) test expectation files were updated by
running the tests with `--rebaseline`:

```
other/codesize/test_codesize_cxx_ctors1.size: 128974 => 128954 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_ctors2.size: 128423 => 128403 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_except.size: 171008 => 170988 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_except_wasm.size: 142223 => 142203 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_except_wasm_exnref.size: 144810 => 144790 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_lto.size: 121924 => 121904 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_mangle.size: 232517 => 232497 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_noexcept.size: 131781 => 131761 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_wasmfs.size: 168928 => 168908 [-20 bytes / -0.01%]

Average change: -0.01% (-0.02% - -0.01%)
```
@aheejin aheejin marked this pull request as ready for review December 19, 2024 17:33
@aheejin aheejin requested a review from sbc100 December 19, 2024 17:33
@@ -20,4 +20,4 @@ Modifications

For a list of changes from upstream see the compiler-rt files that are part of:

https://github.com/llvm/llvm-project/compare/llvmorg-17.0.4...emscripten-core:emscripten-libs-17
https://github.com/llvm/llvm-project/compare/llvmorg-19.1.4...emscripten-core:emscripten-libs-19
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this is currently and empty diff. Is that because emscripten-libs-19 is currently empty?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I forgot to upload that branch... Will do that.

@@ -1 +1 @@
168928
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see code sizes going down!

@aheejin
Copy link
Member Author

aheejin commented Dec 19, 2024

I think this can be merged now.

When I first uploaded this PR browser_2gb.test_pthread_lsan_leak and browser_2gb.test_pthread_lsan_no_leak used to fail, which seemed started after the new implementation of atomic_store in llvm/llvm-project#84439, whose reason I wasn't able to figure out. But now they all somehow pass 🤷🏻

This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (9) test expectation files were updated by
running the tests with `--rebaseline`:

```
other/codesize/test_codesize_cxx_ctors1.size: 128914 => 128894 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_ctors2.size: 128363 => 128343 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_except.size: 170948 => 170928 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_except_wasm.size: 142163 => 142143 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_except_wasm_exnref.size: 144750 => 144730 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_lto.size: 121864 => 121844 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_mangle.size: 232457 => 232437 [-20 bytes / -0.01%]
other/codesize/test_codesize_cxx_noexcept.size: 131721 => 131701 [-20 bytes / -0.02%]
other/codesize/test_codesize_cxx_wasmfs.size: 168868 => 168848 [-20 bytes / -0.01%]

Average change: -0.01% (-0.02% - -0.01%)
```
@aheejin aheejin merged commit 1444a93 into emscripten-core:main Dec 21, 2024
29 checks passed
@aheejin aheejin deleted the update_compiler_rt_19 branch December 21, 2024 04:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants