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

[SR-12797] [C++] IRGen should lower value operations on C++ types correctly #55242

Open
gribozavr opened this issue May 12, 2020 · 1 comment
Labels
c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself IRGen LLVM IR generation new feature

Comments

@gribozavr
Copy link
Collaborator

Previous ID SR-12797
Radar rdar://problem/83465930
Original Reporter @gribozavr
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels New Feature, CxxInterop, IRGen
Assignee None
Priority Medium

md5: d1478e133cbf32019129b4d3a5ba6826

blocks:

  • SR-12540 [C++] Import class template instantiations

relates to:

  • SR-12471 [C++] Populate value witness tables for C++ types

Issue Description:

IRGen should lower SIL instructions that load, store, move, assign C++ types by correctly invoking the appropriate C++ special members.

This bug might be fixed automatically when https://bugs.swift.org/browse/SR-12471 is fixed. Even in that case, we should write tests that check lowering of SIL instructions.

@zoecarver
Copy link
Collaborator

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@zoecarver zoecarver added c++ interop Feature: Interoperability with C++ and removed CxxInterop labels Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++ compiler The Swift compiler in itself IRGen LLVM IR generation new feature
Projects
None yet
Development

No branches or pull requests

2 participants