Skip to content

Move function parallelism to pass and pass runner#564

Merged
kripken merged 1 commit into
masterfrom
flip-parallel
Jun 3, 2016
Merged

Move function parallelism to pass and pass runner#564
kripken merged 1 commit into
masterfrom
flip-parallel

Conversation

@kripken

@kripken kripken commented Jun 3, 2016

Copy link
Copy Markdown
Member

By doing it at the pass/pass runner level, we can be smarter about things. Previously we ran each pass, in parallel, and waited for it to finish entirely before moving to the next. With this PR we run all the passes we can on a single function. This avoids the join after each pass, and also is good for locality.

This speeds up optimization by a few %. Also feels like a cleaner API, to let traversals worry just about traversing, and the pass runner deals with running multiple passes in a parallel and efficient manner.

@kripken kripken merged commit f6b5c1e into master Jun 3, 2016
@kripken kripken deleted the flip-parallel branch June 3, 2016 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant