Skip to content

[CIR][CIRGen] Fix CXX codegen for default args #1278

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 2 commits into from
Jan 14, 2025

Conversation

gitoleg
Copy link
Collaborator

@gitoleg gitoleg commented Jan 10, 2025

This PR adds a support for for default arguments

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

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

LGTM with minor nit

bar();
}

// CHECK: %0 = cir.alloca !s32i
Copy link
Member

Choose a reason for hiding this comment

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

please use regex for ssa values!

@gitoleg
Copy link
Collaborator Author

gitoleg commented Jan 14, 2025

Done!

@bcardosolopes bcardosolopes changed the title [CIR][Codegen] fixes CXX codegen for default args [CIR][CIRGen] Fix CXX codegen for default args Jan 14, 2025
@bcardosolopes bcardosolopes merged commit 3891619 into llvm:main Jan 14, 2025
6 checks passed
lanza pushed a commit that referenced this pull request Mar 18, 2025
This PR adds a support for for default arguments
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