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: Add error handling for the case of CustomSerialized #1825

Open
doug-q opened this issue Dec 20, 2024 · 0 comments
Open

hugr-llvm: Add error handling for the case of CustomSerialized #1825

doug-q opened this issue Dec 20, 2024 · 0 comments
Labels
llvm Pertains to LLVM emission

Comments

@doug-q
Copy link
Collaborator

doug-q commented Dec 20, 2024

A CustomSerialized in a HUGR represents an constant value of unknown impl CustomConst. We can never successfully lower this to llvm. Let's detect and handle this special case with a helpful error message. #1821 is an example lowering failed due to the presence of a CustomSerialized.

@doug-q doug-q added the llvm Pertains to LLVM emission label Dec 20, 2024
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