-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Don't walk into Certainty::Yes
goals
#142085
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
base: master
Are you sure you want to change the base?
Conversation
@bors2 try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (3e60047): 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 the most reliable metric that we have; it was used to determine the overall result at the top of this comment. However, even this metric can sometimes exhibit noise.
Max RSS (memory usage)Results (primary 1.1%, secondary -0.8%)This 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.
CyclesResults (secondary -12.8%)This 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.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 750.544s -> 750.657s (0.02%) |
r? lcnr |
changes to |
// No need to walk into goal subtrees that certainly hold, since they | ||
// wouldn't then be stalled on an infer var. | ||
if inspect_goal.result() == Ok(Certainty::Yes) | ||
&& !matches!( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We currently report nested goals as Certainty::Yes
even if they had nested goals... we could/should fix that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
normalizes-to goals?
in InspectGoal::new
, we should also eagerly try to prove the nested goals if the normalizes_to_term_hack
is Some
🤔
r=me with a FIXME here saying that normalizes-to nested goals are kinda scuffed or actually fix the impl in this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
normalizes-to goals?
Yes, typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed by #142127.
54b62fc
to
db1ceca
Compare
@bors r=lcnr rollup=never |
Don't walk into
Certainty::Yes
goals in the pending obligation finding code, since they will not have been stalled on an infer var anyways