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

[mono] Try using tablegen-derived data to auto-generate LLVM IR fragments #48499

Closed
Tracked by #43051
imhameed opened this issue Feb 19, 2021 · 1 comment
Closed
Tracked by #43051
Assignees
Labels
area-Codegen-LLVM-mono runtime-mono specific to the Mono runtime
Milestone

Comments

@imhameed imhameed added runtime-mono specific to the Mono runtime area-Codegen-LLVM-mono labels Feb 19, 2021
@imhameed imhameed added this to the 6.0.0 milestone Feb 19, 2021
@imhameed imhameed self-assigned this Feb 19, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Feb 19, 2021
@imhameed imhameed removed the untriaged New issue has not been triaged by the area owner label Feb 19, 2021
@imhameed
Copy link
Contributor Author

imhameed commented Mar 3, 2021

Some problems with this:

Complete auto-generation would require transliterating these exceptions to some sort of "meta" IR construction DSL. It seems to me that it might be better to scrape each header for prototypes and generate a large file to be fed to clang -O2 -g0 -emit-llvm and then postprocess the resulting bitcode.

For now, I think I'll auto-generate the lower-effort stuff and hand-write the rest.

@ghost ghost locked as resolved and limited conversation to collaborators Apr 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-LLVM-mono runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

1 participant