-
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
stop using ty::UnevaluatedConst
directly
#103227
Conversation
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri |
cd7f8d4
to
b93713f
Compare
@bors r+ |
realized that we should probably check perf here 😅 @bors r- |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit b93713f with merge 5a201f44d27c36ac96ec78a2b161f47a0d2c05fb... |
☀️ Try build successful - checks-actions |
Queued 5a201f44d27c36ac96ec78a2b161f47a0d2c05fb with parent 84365ff, future comparison URL. |
Finished benchmarking commit (5a201f44d27c36ac96ec78a2b161f47a0d2c05fb): comparison URL. Overall result: ❌✅ regressions and improvements - 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. Next Steps: If you can justify the regressions found in this try perf run, please indicate this with @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. Footnotes |
the regressions in
@bors r=oli-obk rollup=never |
☀️ Test successful - checks-actions |
Finished benchmarking commit (26c96e3): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression 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. CyclesResultsThis 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.
Footnotes |
…i-obk stop using `ty::UnevaluatedConst` directly best reviewed commit by commit. simplifies rust-lang#99798 because we now don't have to expand `ty::UnevaluatedConst` to `ty::Const`. I also remember some other places where using `ty::UnevaluatedConst` directly was annoying and caused issues, though I don't quite remember what they were rn '^^ r? `@oli-obk` cc `@JulianKnodt`
best reviewed commit by commit.
simplifies #99798 because we now don't have to expand
ty::UnevaluatedConst
toty::Const
.I also remember some other places where using
ty::UnevaluatedConst
directly was annoying and caused issues, though I don't quite remember what they were rn '^^r? @oli-obk cc @JulianKnodt