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

Transform functions returning an aggregate to functions returning multiple values #1364

Open
Lancern opened this issue Feb 17, 2025 · 1 comment

Comments

@Lancern
Copy link
Member

Lancern commented Feb 17, 2025

Have you considered making ABI lowering to transform calls to return two/N values instead? LLVM IR instructions does not support multiple results and using structs is the way they go about implementing this, MLIR knows better though.

Originally posted by @bcardosolopes in #1292 (comment)

@bcardosolopes
Copy link
Member

I'm not 100% it's the best solution, but it could be :)

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

No branches or pull requests

2 participants