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

[CIR][CIRGen] Call trivial assignment operators in more cases #1196

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

smeenai
Copy link
Collaborator

@smeenai smeenai commented Dec 3, 2024

Our previous logic here was matching CodeGen, which folds trivial
assignment operator calls into memcpys, but we want to avoid that. Note
that we still end up emitting memcpys for arrays of classes with trivial
assignment operators; #1177 tracks
fixing that.

[ghstack-poisoned]
[ghstack-poisoned]
Base automatically changed from users/smeenai/1/head to main December 3, 2024 19:11
@smeenai smeenai merged commit 540b171 into main Dec 3, 2024
6 checks passed
@smeenai smeenai deleted the users/smeenai/2/head branch December 3, 2024 19:14
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