Skip to content
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

Disable projection sub-obligation optimization in intercrate mode #88993

Closed
wants to merge 1 commit into from

Conversation

Aaron1011
Copy link
Member

The meaning of an 'evaluation' in intercrate mode is more complicated
than with an normal SelectionContext. To avoid potential issues,
we now always preserve all projection sub-obligations when in
intercrate mode. This avoids needing to answer whether or not
EvaluatedToOk always means the same thing in intercrate mode
as it does normally.

The meaning of an 'evaluation' in intercrate mode is more complicated
than with an normal `SelectionContext`. To avoid potential issues,
we now always preserve all projection sub-obligations when in
intercrate mode. This avoids needing to answer whether or not
`EvaluatedToOk` always means the same thing in intercrate mode
as it does normally.
@rust-highfive
Copy link
Collaborator

r? @cjgillot

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 15, 2021
@Aaron1011
Copy link
Member Author

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion.

@rustbot label: +S-waiting-on-perf

@rustbot rustbot added the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 15, 2021
@bors
Copy link
Contributor

bors commented Sep 15, 2021

⌛ Trying commit da0816c with merge 0ad7c9beddfdc2e5f0aeb5f7ae7d796dd89173f7...

@bors
Copy link
Contributor

bors commented Sep 16, 2021

☀️ Try build successful - checks-actions
Build commit: 0ad7c9beddfdc2e5f0aeb5f7ae7d796dd89173f7 (0ad7c9beddfdc2e5f0aeb5f7ae7d796dd89173f7)

@rust-timer
Copy link
Collaborator

Queued 0ad7c9beddfdc2e5f0aeb5f7ae7d796dd89173f7 with parent 2c7bc5e, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking commit (0ad7c9beddfdc2e5f0aeb5f7ae7d796dd89173f7): comparison url.

Summary: This benchmark run did not return any relevant changes.

If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf.

Benchmarking 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 led to changes in compiler perf.

@bors rollup=never
@rustbot label: +S-waiting-on-review -S-waiting-on-perf -perf-regression

@rustbot rustbot removed the S-waiting-on-perf Status: Waiting on a perf run to be completed. label Sep 16, 2021
@cjgillot
Copy link
Contributor

cjgillot commented Oct 2, 2021

#88994 (comment)

The other PR (#88993) is less "obviously correct" and imo "more complicated" (though not really).

r? @rust-lang/traits

@lqd
Copy link
Member

lqd commented Oct 2, 2021

IIRC this was an alternative to #88994, and can thus probably be closed, right @Aaron1011 ?

@apiraino apiraino added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 14, 2021
@jackh726
Copy link
Member

Closing since #88994 was merged.

@jackh726 jackh726 closed this Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants