Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DSLX:ir_conv] IR convert trailing match arms w/ multiple patterns. #1921

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cdleary
Copy link
Collaborator

@cdleary cdleary commented Feb 9, 2025

Previously we would give an IR conversion error, which was a vestige from where we needed the trailing arm to be a wildcard. Now with exhaustiveness we know the trailing match arm must be usable as a default case in the priority select that we lower to.

@cdleary cdleary marked this pull request as ready for review February 9, 2025 18:17
@grebe grebe requested a review from richmckeever February 11, 2025 00:55
@cdleary cdleary force-pushed the cdleary/2025-02-08-multi-pattern-trailing-arm branch from f8c7e9c to 8804cca Compare February 14, 2025 22:22
@cdleary
Copy link
Collaborator Author

cdleary commented Feb 14, 2025

Rebased this, PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants