-
Notifications
You must be signed in to change notification settings - Fork 13.5k
remove constant evaluation hack in super_relate_consts
#111622
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
Conversation
@bors try |
⌛ Trying commit 8fbccd1f5dda000ceda7aca10e645f64bb1e5adc with merge b7d03861bf345e4ad2ddeaeb856c296223a4d00f... |
This comment has been minimized.
This comment has been minimized.
☀️ Try build successful - checks-actions |
@craterbot check @rust-timer build b7d03861bf345e4ad2ddeaeb856c296223a4d00f |
This comment has been minimized.
This comment has been minimized.
👌 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
🚧 Experiment ℹ️ Crater is a tool to run experiments across parts of the Rust ecosystem. Learn more |
Finished benchmarking commit (b7d03861bf345e4ad2ddeaeb856c296223a4d00f): comparison URL. Overall result: ✅ improvements - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. 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: 644.092s -> 642.909s (-0.18%) |
🎉 Experiment
|
This comment has been minimized.
This comment has been minimized.
61f0560
to
2425926
Compare
I think I would not like to land this all the regressions seem to be things that ought to work anyway and the motivation for this change is not that big since #111623 is also viable. Good to have the crater results though |
super_relate_consts
has as hack in it to work around the fact thatnormalize_param_env_or_error
is broken. When relating two constants we attempt to evaluate them (aka normalize them). This is not an issue in any way specific to const generics, type aliases also have the same issue as demonstrated in this code.Opening just for a crater run
r? @compiler-errors