Skip to content

Conversation

tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Oct 14, 2020

A promoted inherits all scopes from the parent body. At the same time,
almost all statements and terminators inside the promoted body so far
refer only to one of those scopes: the outermost one.

Instead of inheriting all scopes, inherit only a single scope
corresponding to the location of the promoted, making sure that there
are no references to other scopes.

A promoted inherits all scopes from the parent body.  At the same time,
almost all statements and terminators inside the promoted body so far
refer only to one of those scopes: the outermost one.

Instead of inheriting all scopes, inherit only a single scope
corresponding to the location of the promoted, making sure that there
are no references to other scopes.
@rust-highfive
Copy link
Contributor

r? @eddyb

(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 Oct 14, 2020
@jonas-schievink
Copy link
Contributor

@bors try @rust-timer queue

@rust-timer
Copy link
Collaborator

Awaiting bors try build completion

@bors
Copy link
Collaborator

bors commented Oct 14, 2020

⌛ Trying commit db54752 with merge d45df2a1b384b24d005da28b248e0238118031e7...

@bors
Copy link
Collaborator

bors commented Oct 14, 2020

☀️ Try build successful - checks-actions, checks-azure
Build commit: d45df2a1b384b24d005da28b248e0238118031e7 (d45df2a1b384b24d005da28b248e0238118031e7)

@rust-timer
Copy link
Collaborator

Queued d45df2a1b384b24d005da28b248e0238118031e7 with parent 5565241, future comparison URL.

@rust-timer
Copy link
Collaborator

Finished benchmarking try commit (d45df2a1b384b24d005da28b248e0238118031e7): comparison url.

Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying rollup- to bors.

Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up.

@bors rollup=never

@jonas-schievink
Copy link
Contributor

r? @oli-obk

@rust-highfive rust-highfive assigned oli-obk and unassigned eddyb Oct 15, 2020
@oli-obk
Copy link
Contributor

oli-obk commented Oct 15, 2020

@bors r+

@bors
Copy link
Collaborator

bors commented Oct 15, 2020

📌 Commit db54752 has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 15, 2020
@bors
Copy link
Collaborator

bors commented Oct 15, 2020

⌛ Testing commit db54752 with merge 91e122a9d06bbe1b4049eae53f4f4607ca93ddaf...

@bors
Copy link
Collaborator

bors commented Oct 16, 2020

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Oct 16, 2020
@jonas-schievink
Copy link
Contributor

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 16, 2020
@bors
Copy link
Collaborator

bors commented Oct 16, 2020

⌛ Testing commit db54752 with merge 9bd740a...

@bors
Copy link
Collaborator

bors commented Oct 16, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: oli-obk
Pushing 9bd740a to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Oct 16, 2020
@bors bors merged commit 9bd740a into rust-lang:master Oct 16, 2020
@rustbot rustbot added this to the 1.49.0 milestone Oct 16, 2020
@rust-highfive
Copy link
Contributor

📣 Toolstate changed by #77947!

Tested on commit 9bd740a.
Direct link to PR: #77947

💔 rls on windows: test-pass → test-fail (cc @Xanewok).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Oct 16, 2020
Tested on commit rust-lang/rust@9bd740a.
Direct link to PR: <rust-lang/rust#77947>

💔 rls on windows: test-pass → test-fail (cc @Xanewok).
@tmiasko tmiasko deleted the promoted-scope branch October 16, 2020 04:56
@Mark-Simulacrum
Copy link
Member

This is a nice perf improvement! That said, it looks like wall times are bit more mixed: https://perf.rust-lang.org/compare.html?start=b6e2dc6cdece6b498b876bc7e9377ff7d63d93e7&end=9bd740a8f17d75168b683bcfb077b6e450047df5&stat=wall-time. Those are always quite noisy, though, so I am inclined to leave things as is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants