Skip to content

Made single variant matches not create branch align.#9618

Merged
orizi merged 1 commit intomainfrom
orizi/02-08-made_single_variant_matches_not_create_branch_align
Feb 9, 2026
Merged

Made single variant matches not create branch align.#9618
orizi merged 1 commit intomainfrom
orizi/02-08-made_single_variant_matches_not_create_branch_align

Conversation

@orizi
Copy link
Collaborator

@orizi orizi commented Feb 8, 2026

Summary

Made sierra generator not add branch_align statements when a match statement has a single arm.


Type of change

Please check one:

  • Bug fix (fixes incorrect behavior)
  • New feature
  • Performance improvement
  • Documentation change with concrete technical impact
  • Style, wording, formatting, or typo-only change

⚠️ Note:
To keep maintainer workload sustainable, we generally do not accept PRs that
are only minor wording, grammar, formatting, or style changes.
Such PRs may be closed without detailed review.


Why is this change needed?

Reduces the size of sierra code by removing redundant branch aligns.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Collaborator Author

orizi commented Feb 8, 2026

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

@orizi orizi marked this pull request as ready for review February 8, 2026 10:04
Copy link
Contributor

@eytan-starkware eytan-starkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

@eytan-starkware reviewed 11 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @ilyalesokhin-starkware).

Copy link
Contributor

@ilyalesokhin-starkware ilyalesokhin-starkware left a comment

Choose a reason for hiding this comment

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

@ilyalesokhin-starkware reviewed all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @orizi).

@orizi orizi added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit fd9cc11 Feb 9, 2026
52 checks passed
@orizi orizi deleted the orizi/02-08-made_single_variant_matches_not_create_branch_align branch February 9, 2026 10:51
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.

4 participants