Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Apr 26, 2024

When the input has branches to block scope, IR builder generally has to add a
wrapper block with a label name for the branch to target. To reduce the parsed
IR size, add a special case for when the wrapped expression is already an
unnamed block. In that case we can simply add the label to the existing block
instead of creating a new wrapper block.

@tlively tlively requested a review from kripken April 26, 2024 23:01
Copy link
Member Author

tlively commented Apr 26, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tlively and the rest of your teammates on Graphite Graphite

tlively added 2 commits April 29, 2024 12:09
When the input has branches to block scope, IR builder generally has to add a
wrapper block with a label name for the branch to target. To reduce the parsed
IR size, add a special case for when the wrapped expression is already an
unnamed block. In that case we can simply add the label to the existing block
instead of creating a new wrapper block.
@tlively tlively force-pushed the parser-reuse-function-blocks branch from 572bc79 to 2c59fb5 Compare April 29, 2024 19:28
@tlively tlively merged commit be001f7 into main Apr 29, 2024
@tlively tlively deleted the parser-reuse-function-blocks branch April 29, 2024 20:17
@gkdn gkdn mentioned this pull request Aug 31, 2024
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.

3 participants