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

Convert new AST into MLIR #117

Closed
rengolin opened this issue May 19, 2020 · 4 comments
Closed

Convert new AST into MLIR #117

rengolin opened this issue May 19, 2020 · 4 comments
Assignees

Comments

@rengolin
Copy link
Contributor

First iteration using opaque MLIR and see what comes out of it. We still won't be able to lower that in any helpful way before we have a minimal dialect and the type inference working.

Acceptance criteria:

  • Take examples that are already parsed by the front-end and convert the whole AST into MLIR
  • Create some tests to show the conversion into some "expected" format
  • Add necessary nodes and types to the Verona dialect that make the process simpler

Not included:

@rengolin rengolin self-assigned this May 19, 2020
@rengolin
Copy link
Contributor Author

rengolin commented May 19, 2020

Will continue working on https://github.com/rengolin/verona/tree/mlir branch, squashed from mlir-ast branch in #107.

@rengolin
Copy link
Contributor Author

Skeleton implementation of verona-mlir in https://github.com/rengolin/verona/tree/verona-mlir.

Doesn't parse any AST, but has MLIR -> {MLIR, LLVM} structure, uses verona dialect and has some tests.

Next step, start looking at some basic AST constructs and lower to dialect IR.

@rengolin
Copy link
Contributor Author

rengolin commented Jul 7, 2020

First prototype merged (#155) and improved (#175, #177).

@rengolin
Copy link
Contributor Author

rengolin commented Aug 3, 2020

Now that the MLIR generator is working on basic constructs, and we have started working on the Verona dialect (#106) and its type system (#104), we should start moving from opaque lowering to Verona dialect lowering (#107). I'll close this ticket and start working on that one.

@rengolin rengolin closed this as completed Aug 3, 2020
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

1 participant