Skip to content

Add missing LLVM operations #698

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

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

Conversation

Fernthedev
Copy link
Contributor

Decided to add some LLVM dialect operations I required in my project and now contribute them upstream. I am not sure about the efficacy of some implementations, specifically GlobalValue. So I'm leaving it in draft mode to allow for feedback.

Hopefully everything else is ok.

@raviqqe
Copy link
Member

raviqqe commented Jun 3, 2025

Is this not ready for reviews yet?

@Fernthedev
Copy link
Contributor Author

Fernthedev commented Jun 3, 2025

Hi, I suppose it is. I haven't worked on it in a while and I had many issues related to LLVM 21's breaking changes with the LLVM dialect (annoyingly, no documentation, notice or examples on the new usage), specifically llvm.call iirc.

If you have a better clue as to what needs to be done, or at least confirm what I did is correct then that would be good to go.

The rest is up to your preference for the implementation of global values, which I'm still not super sure if it's the right way to go. Again, I'm very inexperienced with LLVM IR/MLIR. Appreciate your patience 👍

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

Successfully merging this pull request may close these issues.

None yet

2 participants