-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Sync rustc_codegen_cranelift #114666
Sync rustc_codegen_cranelift #114666
Conversation
This was a left over from when build_system/main.rs was at ./y.rs.
Pass `preserve_frame_pointers` to Cranelift
…mpiler-errors Fix ICE failed to get layout for ReferencesError Fixes rust-lang#114435 r? `@compiler-errors`
Co-authored-by: Ralf Jung <post@ralfj.de>
…r=cjgillot Add a new `compare_bytes` intrinsic instead of calling `memcmp` directly As discussed in rust-lang#113435, this lets the backends be the place that can have the "don't call the function if n == 0" logic, if it's needed for the target. (I didn't actually *add* those checks, though, since as I understood it we didn't actually need them on known targets?) Doing this also let me make it `const` (unstable), which I don't think `extern "C" fn memcmp` can be. cc `@RalfJung` `@Amanieu`
@bors r+ p=1 subtree sync |
☀️ Test successful - checks-actions |
Finished benchmarking commit (08d00b4): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 632.289s -> 632.868s (0.09%) |
A couple of small bug fixes this time. In addition I fixed the test suite after the introduction of
#![deny(internal_feature)]
broke it.r? @ghost
@rustbot label +A-codegen +A-cranelift +T-compiler