Skip to content

Conversation

AdUhTkJm
Copy link
Contributor

CIR didn't work on structs with destructor but without constructor. Now it is fixed.

Moreover, CUDA kernels must be emitted if it was referred to in the destructor of a non-device variable. It seems already working, so I just unblocked the code path.

@bcardosolopes
Copy link
Member

I'll merge after conflict resolution!

@bcardosolopes bcardosolopes merged commit 994dee0 into llvm:main Mar 4, 2025
6 checks passed
bcardosolopes added a commit that referenced this pull request Mar 6, 2025
lanza pushed a commit that referenced this pull request Mar 18, 2025
CIR didn't work on structs with destructor but without constructor. Now
it is fixed.

Moreover, CUDA kernels must be emitted if it was referred to in the
destructor of a non-device variable. It seems already working, so I just
unblocked the code path.
lanza pushed a commit that referenced this pull request Mar 18, 2025
lanza pushed a commit to lanza/llvm-project that referenced this pull request Aug 11, 2025
terapines-osc-cir pushed a commit to Terapines/clangir that referenced this pull request Sep 2, 2025
CIR didn't work on structs with destructor but without constructor. Now
it is fixed.

Moreover, CUDA kernels must be emitted if it was referred to in the
destructor of a non-device variable. It seems already working, so I just
unblocked the code path.
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