Skip to content

Use new dataflow framework for generators - #69295

Merged
bors merged 6 commits into
rust-lang:masterfrom
ecstatic-morse:unified-dataflow-generators
Mar 1, 2020
Merged

Use new dataflow framework for generators#69295
bors merged 6 commits into
rust-lang:masterfrom
ecstatic-morse:unified-dataflow-generators

Conversation

@ecstatic-morse

@ecstatic-morseecstatic-morse commented Feb 19, 2020

Copy link
Copy Markdown
Contributor

#65672 introduced a new dataflow framework that can handle arbitrarily complex transfer functions as well as ones expressed as a series of gen/kill operations. This PR ports the analyses used to implement generators to the new framework so that we can remove the old one. See #68241 for a prior example of this. The new framework has some superficial API changes, but this shouldn't alter the generator passes in any way.

r? @tmandry

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 19, 2020
@bors

This comment has been minimized.

@ecstatic-morse
ecstatic-morseforce-pushed the unified-dataflow-generators branch from 2d2637a to 5b89e0aCompareFebruary 24, 2020 19:21
@ecstatic-morse

Copy link
Copy Markdown
ContributorAuthor

Ping @tmandry

@bors

This comment has been minimized.

@ecstatic-morse
ecstatic-morseforce-pushed the unified-dataflow-generators branch from 5b89e0a to 75d256fCompareFebruary 27, 2020 18:59

@tmandrytmandry left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay on my end! It's been a wild couple of weeks.

Looks good, r=me after comment.

EDIT: The new framework looks really nice. :)

Comment threadsrc/librustc_mir/transform/generator.rs Outdated
@ecstatic-morse

Copy link
Copy Markdown
ContributorAuthor

@bors r=tmandry

@bors

bors commented Feb 29, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit dd69017f3f9a0e8e76ac6cfbfe8029250bf87270 has been approved by tmandry

@borsbors 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 Feb 29, 2020
@rust-highfive

This comment has been minimized.

Reverse post-order requires an allocation.
@ecstatic-morse
ecstatic-morseforce-pushed the unified-dataflow-generators branch from dd69017 to 21cd1feCompareFebruary 29, 2020 05:29
@ecstatic-morse

Copy link
Copy Markdown
ContributorAuthor

Ugh, that was a bit loose.

@bors r=tmandry

@bors

bors commented Feb 29, 2020

Copy link
Copy Markdown
Collaborator

📌 Commit 21cd1fe has been approved by tmandry

@bors

bors commented Mar 1, 2020

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 21cd1fe with merge ee50590...

@bors

bors commented Mar 1, 2020

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-azure
Approved by: tmandry
Pushing ee50590 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Mar 1, 2020
@bors
bors merged commit ee50590 into rust-lang:masterMar 1, 2020
@ecstatic-morse
ecstatic-morse deleted the unified-dataflow-generators branch October 6, 2020 01:42
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: 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.

4 participants

@ecstatic-morse@bors@rust-highfive@tmandry