We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This was originally posted in the Discord channel by OfekShilon. The original message:
Hi! I hope this is an appropriate place to ask/suggest: Are there plans to have CIR encode C/C++ constness? LLVM-IR doesn't, and quite a few optimizations are inhibited as a result. I'm aware of one old (2015) attempt to tackle it in LLVM-IR: https://docs.google.com/document/d/112O-Q_XrbrU1I4P-oiLCN9u86Qg_BYBdcDsmh7Pn9Nw/edit#heading=h.trjqebywdvx4 which never made it upstream. This might be a great opportunity to demonstrate concrete added value of cir over llvm-ir.
Hi! I hope this is an appropriate place to ask/suggest:
Are there plans to have CIR encode C/C++ constness? LLVM-IR doesn't, and quite a few optimizations are inhibited as a result.
I'm aware of one old (2015) attempt to tackle it in LLVM-IR: https://docs.google.com/document/d/112O-Q_XrbrU1I4P-oiLCN9u86Qg_BYBdcDsmh7Pn9Nw/edit#heading=h.trjqebywdvx4 which never made it upstream.
This might be a great opportunity to demonstrate concrete added value of cir over llvm-ir.
The text was updated successfully, but these errors were encountered:
Thanks for tracking this. It'd be cool to have, in the meantime, this is also doable by looking at AST attached to the operations
Sorry, something went wrong.
Lancern
No branches or pull requests
This was originally posted in the Discord channel by OfekShilon. The original message:
The text was updated successfully, but these errors were encountered: