Skip to content

Commit

Permalink
[FIRRTL] Rewrite the FIRRTL to RTL pass completely to be a normal MLIR
Browse files Browse the repository at this point in the history
pass, instead of using the operation legalization framework.

The op legalization framework isn't really set up for cases where you change
types like we are.  The lowering we are doing is super simple, so just do
a linear pass over the ops.  This also makes the code nicer to work with
because we can use a standard visitor instead of registering rewrite patterns.
  • Loading branch information
lattner committed Jul 20, 2020
1 parent 060261b commit 0e27d91
Show file tree
Hide file tree
Showing 2 changed files with 275 additions and 265 deletions.
Loading

0 comments on commit 0e27d91

Please sign in to comment.