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][CodeGen] Add nothrow for functions in OpenCL languages #903

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

seven-mile
Copy link
Collaborator

Heterogeneous languages do not support exceptions, which corresponds to nothrow in ClangIR and nounwind in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages in CIRGen. The Lowering for it is already supported previously.

@bcardosolopes bcardosolopes merged commit 88cdb8d into llvm:main Oct 1, 2024
7 checks passed
Hugobros3 pushed a commit to shady-gang/clangir that referenced this pull request Oct 2, 2024
)

Heterogeneous languages do not support exceptions, which corresponds to
`nothrow` in ClangIR and `nounwind` in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages
in CIRGen. The Lowering for it is already supported previously.
smeenai pushed a commit to smeenai/clangir that referenced this pull request Oct 9, 2024
)

Heterogeneous languages do not support exceptions, which corresponds to
`nothrow` in ClangIR and `nounwind` in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages
in CIRGen. The Lowering for it is already supported previously.
smeenai pushed a commit to smeenai/clangir that referenced this pull request Oct 9, 2024
)

Heterogeneous languages do not support exceptions, which corresponds to
`nothrow` in ClangIR and `nounwind` in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages
in CIRGen. The Lowering for it is already supported previously.
smeenai pushed a commit to smeenai/clangir that referenced this pull request Oct 9, 2024
)

Heterogeneous languages do not support exceptions, which corresponds to
`nothrow` in ClangIR and `nounwind` in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages
in CIRGen. The Lowering for it is already supported previously.
keryell pushed a commit to keryell/clangir that referenced this pull request Oct 19, 2024
)

Heterogeneous languages do not support exceptions, which corresponds to
`nothrow` in ClangIR and `nounwind` in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages
in CIRGen. The Lowering for it is already supported previously.
lanza pushed a commit that referenced this pull request Nov 5, 2024
Heterogeneous languages do not support exceptions, which corresponds to
`nothrow` in ClangIR and `nounwind` in LLVM IR.

This PR adds nothrow attributes for all functions for OpenCL languages
in CIRGen. The Lowering for it is already supported previously.
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