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

LLVM IR parser does not handle program address space well #45

Closed
resistor opened this issue Nov 7, 2024 · 1 comment
Closed

LLVM IR parser does not handle program address space well #45

resistor opened this issue Nov 7, 2024 · 1 comment

Comments

@resistor
Copy link
Collaborator

resistor commented Nov 7, 2024

The following instruction does not parse correct, despite being allowed per LangRef. The IR parser doesn't like the attributes between addrspace(200) and the return type.

  %call2.i = call cherilibcallcc addrspace(200) noundef zeroext i1 @_Z13check_pointerPKvjjb(ptr addrspace(200) noundef nonnull %call1.i66, i32 noundef 1, i32 noundef 111, i1 noundef zeroext false) #16, !dbg !4226
@resistor
Copy link
Collaborator Author

I believe this will be fixed one when #9 is resolved.

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