Skip to content

[CIR][NFC][Test] Add llvm ir test for lambdas #1170

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 1 commit into from
Nov 27, 2024

Conversation

ghehg
Copy link
Collaborator

@ghehg ghehg commented Nov 26, 2024

Added a few FIXMEs. There are 2 types of FIXMEs;

  1. Most of them are missing func call and parameter attributes. I didn't add for all missing sites for this type as it would have been just copy pastes.
  2. FIXME in lambda __invoke(): OG simply returns but CIR generates call to llvm.trap. This is just temporary and we will fix in in near future. But I feel I should still list those IRs so once we fix problem with codegen of invoke, we'd get test failure on this one and fix it. Actually, this way, this test file would be a natural test case for implementation of invoke.

@ghehg ghehg marked this pull request as ready for review November 26, 2024 15:16
@bcardosolopes bcardosolopes merged commit 70a2723 into llvm:main Nov 27, 2024
9 checks passed
lanza pushed a commit that referenced this pull request Mar 18, 2025
Added a few FIXMEs. There are 2 types of FIXMEs;
1. Most of them are missing func call and parameter attributes. I didn't
add for all missing sites for this type as it would have been just copy
pastes.
2. FIXME in lambda __invoke(): OG simply returns but CIR generates call
to llvm.trap. This is just temporary and we will fix in in near future.
But I feel I should still list those IRs so once we fix problem with
codegen of invoke, we'd get test failure on this one and fix it.
Actually, this way, this test file would be a natural test case for
implementation of invoke.
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