Skip to content

Add ability to stop the pass pipeline at a specified pass. - #4756

Draft
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_963460880
Draft

Add ability to stop the pass pipeline at a specified pass.#4756
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_963460880

Conversation

@copybara-service

Copy link
Copy Markdown

Add ability to stop the pass pipeline at a specified pass.

Now, we can specify a pass where we want to stop traversing through the compound pass pipeline and exit early. This will let us generate partially optimized IR up to some pass without having to use the skip_passes flag, which breaks every time the optimization pass pipeline shifts.

This option is not yet enabled through the flag system yet; I want to get feedback on the implementation before hooking it up via flags/protos.

Now, we can specify a pass where we want to stop traversing through the compound pass pipeline and exit early. This will let us generate partially optimized IR up to some pass without having to use the `skip_passes` flag, which breaks every time the optimization pass pipeline shifts.

This option is not yet enabled through the flag system yet; I want to get feedback on the implementation before hooking it up via flags/protos.

PiperOrigin-RevId: 963460880
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