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

Merge LLVM 15.0.7 changes into rustc/15.0-2022-12-07 #143

Merged

Conversation

alexcrichton
Copy link
Member

This commit merges the recently release LLVM 15.0.7 branch into the LLVM 15 branch for Rust's submodule of LLVM via a git merge. I'm personally motivated to get https://reviews.llvm.org/D136110 into Rust and this is additionally related to rust-lang/rust#106644 as well.

tstellar and others added 8 commits January 6, 2023 13:09
The iterator over super and sub registers doesn't include both 8-bit
registers in its list. So if both registers are used and only one of
them is live on return, then we need to make sure that the other 8-bit
register is also marked as live and not zeroed out.

Reviewed By: nickdesaulniers

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

(cherry picked from commit 14d4cdd)
…ate type is not extend type

If the src type is not extend type, after convert the truncate to and we need to truncate the and also to make sure the all user is legal.

The old fix D137613 doesn't work when the truncate convert to and have the other users. So this time I try to add the truncate after and to avoid all these potential issues.

Fix: llvm#59554

Reviewed By: samparker

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

(cherry picked from commit a0b470c)
…emory.

Define a `__heap_end` symbol that marks the end of the memory region
that starts at `__heap_base`. This will allow malloc implementations to
know how much memory they can use at `__heap_base` even if someone has
done a `memory.grow` before they can initialize their state.

Differential Revision: https://reviews.llvm.org/D136110
These new debug values get inserted after the place where the spill
happens, which means they won't be reached by the reverse traversal of
basic block instructions. This would crash or fail assertions if they
contained any virtual registers to be replaced. We can manually handle
the new debug values right away to resolve this.

Fixes llvm#59172

Reviewed By: StephenTozer

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

(cherry picked from commit 87f57f4)
Fixes llvm#58392

Reviewed By: ldionne, #libc

Spies: alexfh, hans, joanahalili, dblaikie, libcxx-commits

Differential Revision: https://reviews.llvm.org/D138601
@cuviper cuviper merged commit 6c0bab9 into rust-lang:rustc/15.0-2022-12-07 Jan 13, 2023
@cuviper
Copy link
Member

cuviper commented Jan 13, 2023

Thanks!

@alexcrichton alexcrichton deleted the update-to-llvm-15.0.7 branch January 13, 2023 20:59
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 13, 2023
This commit pulls in rust-lang/llvm-project#143 which updates the LLVM
version used by rustc to 15.0.7, namely pulling in
https://reviews.llvm.org/D136110 which is needed for some work I'm
working on with wasm.
bors added a commit to rust-lang-ci/rust that referenced this pull request Jan 22, 2023
…r=cuviper

Update LLVM to 15.0.7

This commit pulls in rust-lang/llvm-project#143 which updates the LLVM version used by rustc to 15.0.7, namely pulling in https://reviews.llvm.org/D136110 which is needed for some work I'm working on with wasm.
bors added a commit to rust-lang/miri that referenced this pull request Jan 23, 2023
Update LLVM to 15.0.7

This commit pulls in rust-lang/llvm-project#143 which updates the LLVM version used by rustc to 15.0.7, namely pulling in https://reviews.llvm.org/D136110 which is needed for some work I'm working on with wasm.
vext01 pushed a commit to vext01/llvm-project that referenced this pull request Apr 29, 2024
Find clang-format if ykllvm is embedded as a submodule.
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.

8 participants