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

hugr-llvm: Generate functions and calls for those array operations for which we currently generate lots of code #1898

Open
doug-q opened this issue Jan 31, 2025 · 0 comments
Labels
llvm Pertains to LLVM emission

Comments

@doug-q
Copy link
Collaborator

doug-q commented Jan 31, 2025

Many operations, (for example indexing operations) require code linear in the length of the array. This is due to the necessity of writing the array to an alloca.

Instead, let's generate llvm functions and call them.

@doug-q doug-q added the llvm Pertains to LLVM emission label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
llvm Pertains to LLVM emission
Projects
None yet
Development

No branches or pull requests

1 participant