Skip to content

Rustup #4157

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

Merged
merged 7 commits into from
Jan 28, 2025
Merged

Rustup #4157

merged 7 commits into from
Jan 28, 2025

Conversation

RalfJung
Copy link
Member

With rust-lang/rust#136086 closed, we shouldn't have to allow linker-messages any more.

bors and others added 7 commits January 26, 2025 09:26
Get rid of `mir::Const::from_ty_const`

This function is strange, because it turns valtrees into `mir::Const::Value`, but the rest of the const variants stay as type system consts.

All of the callsites except for one in `instsimplify` (array length simplification of `ptr_metadata` call) just go through the valtree arm of the function, so it's easier to just create a `mir::Const` directly for those.

For the instsimplify case, if we have a type system const we should *keep* having a type system const, rather than turning it into a `mir::Const::Value`; it doesn't really matter in practice, though, bc `usize` has no padding, but it feels more principled.
Fix tests on LLVM 20

For sparcv8plus.rs, duplicate the test for LLVM 19 and LLVM 20. LLVM 20 resolves one of the FIXME in the test.

For x86_64-bigint-add.rs split the check lines for LLVM 19 and LLVM 20. The difference in codegen here is due to a difference in unroll factor, which I believe is not what the test is interested in.

Fixes rust-lang/rust#132957.
Fixes rust-lang/rust#133754.
@RalfJung RalfJung enabled auto-merge January 28, 2025 02:37
@RalfJung RalfJung added this pull request to the merge queue Jan 28, 2025
Merged via the queue into rust-lang:master with commit ce9c9ff Jan 28, 2025
7 checks passed
@RalfJung RalfJung deleted the rustup branch January 28, 2025 03:31
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