Skip to content

llvm 18 support #241

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

Closed
db7 opened this issue Feb 27, 2025 · 2 comments
Closed

llvm 18 support #241

db7 opened this issue Feb 27, 2025 · 2 comments

Comments

@db7
Copy link
Contributor

db7 commented Feb 27, 2025

llir cannot parse LLVM IR v18.

In my small examples, I found two issues: i8* and other pointer types are now ptr and there are some new attributes that are not parseable such as memory(none).

Is there any chance of updating this package to be able to parse llvm IR 18

@mewmew
Copy link
Member

mewmew commented Feb 27, 2025

Hi @db7,

Always happy to see others who're curious about interacting with LLVM IR from Go.

I'd love for this project to gain support for LLVM 18!

However, as llir/llvm is being developed as a hobby project in our spare time, and given the high pace of development of the upstream LLVM project, it is quite unlikely to happen in the foreseeable future.

This is of course unless a passionate soul from the community steps up to the challenge!

For more background, see #240 (comment)

Happy coding!

Robin

@db7
Copy link
Contributor Author

db7 commented Feb 27, 2025

Yeah, I understand, of course. I will evaluate the effort of updating the library myself, but I'm not sure I have the skills for it.

Anyway, thanks for the great project. We have been using llir/llvm in our vsyncer tool since 2021 :-)

@db7 db7 closed this as completed Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants