Skip to content

[CIR][CIRGen] Implement unary inc/dec in CIRGenExpr #73

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

Merged
merged 1 commit into from
May 18, 2023

Conversation

j2kun
Copy link
Contributor

@j2kun j2kun commented May 17, 2023

Implements the non-complex part of #7

@j2kun
Copy link
Contributor Author

j2kun commented May 17, 2023

I just realized I should have more tests for the "post increment" variant. Will add those later today.

@bcardosolopes
Copy link
Member

Looks great @j2kun, thanks! Will approve the PR but please add the testcases you mentioned before landing.

@bcardosolopes bcardosolopes self-requested a review May 17, 2023 20:36
@bcardosolopes bcardosolopes changed the title Implement unary inc/dec in CIRGenExpr [CIR][CIRGen] Implement unary inc/dec in CIRGenExpr May 18, 2023
@bcardosolopes bcardosolopes merged commit 956b9c4 into llvm:main May 18, 2023
@bcardosolopes
Copy link
Member

I went ahead and merged given the post-inc tests can come on a later PR (makes sense to split given this PR deals with pre-inc/dec)

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.

2 participants