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

Bitcode Generator #170

Closed
Pablo96 opened this issue Mar 12, 2021 · 3 comments
Closed

Bitcode Generator #170

Pablo96 opened this issue Mar 12, 2021 · 3 comments

Comments

@Pablo96
Copy link

Pablo96 commented Mar 12, 2021

Hi there, I cant find the bitcode generator if it isn't supported I would like to request it and if possible help developing it

@dannypsnl
Copy link
Member

We don't have bitcode generator now(at least I think so), for now, you can use llvm-as command.

@mewmew
Copy link
Member

mewmew commented Mar 12, 2021

Hi @Pablo96,

Good to see you interested in the project :) As @dannypsnl mentioned the llir/llvm project currently supports only the text version of LLVM IR. As all three forms of LLVM IR are isomorphic (binary bitcode form, human readable text form, in-memory form), the current approach is to use the official LLVM toolchain (llvm-as -o foo.bc foo.ll) to convert between human readable LLVM IR and bitcode.

While I understand your wish for integrating both formats into llir/llvm, the maintenance effort to keep support for these formats up-to-date is substantial. If you do wish to join the project, we would be very glad to welcome you! There are definitely aspects we wish to dedicate more time to, but are stretched thin as we do this on our spare time.

So, to best help the project, I think the most valuable investment of time would be into continuing to update llir/llvm to support new aspects of the human readable LLVM IR form, in order to keep up with development of the official LLVM. Then, as mentioned above, to use the official LLVM tools to translate and convert between these isomorphic forms.

Just let us know if you'd be interested in joining our team and helping us develop llir/llvm. We'd be happy to point you in the right direction on where to get started :)

Cheers,
Robin

@mewmew
Copy link
Member

mewmew commented Apr 16, 2021

Hi there, I cant find the bitcode generator if it isn't supported I would like to request it and if possible help developing it

Closing this issue for now. @Pablo96 let us know if you'd be interested in joining development. As LLVM 12.0 has just been released, we could use help to bring llir/llvm up to speed ;) See #169 for background.

https://releases.llvm.org/12.0.0/docs/ReleaseNotes.html

@mewmew mewmew closed this as completed Apr 16, 2021
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

3 participants