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

Extractvalue in global constant not supported? #89

Open
moll opened this issue Apr 20, 2022 · 0 comments
Open

Extractvalue in global constant not supported? #89

moll opened this issue Apr 20, 2022 · 0 comments

Comments

@moll
Copy link

moll commented Apr 20, 2022

Hey,

Thanks for maintaining the LLVM IR pretty printer!

Is it me or is the ExtractValue constant not supported?

instance Pretty C.Constant where
seems to err with "Non-function argument. (Malformed AST)" upon meeting one. As far as I can tell, it seems to be valid syntax. E.g:

%Age = type {i32}

@answer = private unnamed_addr constant i32 extractvalue (%Age {i32 42}, 0)

Thanks!

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

1 participant