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

☔️ Lower GraphIR to LLVM IR #106

Open
CodaFi opened this issue Mar 5, 2018 · 2 comments
Open

☔️ Lower GraphIR to LLVM IR #106

CodaFi opened this issue Mar 5, 2018 · 2 comments

Comments

@CodaFi
Copy link
Member

CodaFi commented Mar 5, 2018

A general lowering algorithm from Schedule GraphIR is given in Thorin. This issues serves as an umbrella for our version of this lowering algorithm.

@CodaFi CodaFi changed the title Lower GraphIR to LLVM IR ☔️ Lower GraphIR to LLVM IR Mar 5, 2018
@harlanhaskins
Copy link
Contributor

We're going to need a runtime to facilitate our dynamic type metadata system. We'll need to implement something similar to Swift's runtime boxes, with copy, move, and destroy operations that we can use to lower copy_value, destroy_value, and function parameter passing.

@harlanhaskins
Copy link
Contributor

We'll need to investigate ways to represent type metadata at runtime. Preferably in a way such that type metadata is lazily instantiated only for types we happen to use.

We'll also need a story for runtime instantiation of type metadata. Namely, how? We'll need to be able to track metadata instantiation in GIR as managed values as well.

@harlanhaskins harlanhaskins self-assigned this Mar 20, 2018
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