Closed hansihe closed 4 years ago
Right now the graph simplification pass will copy the target body into all new targets whenever it can.
This bloats the IR and can cause unnecessary issues for codegen.
Instead we only want to do this if the value usages of the body actually varies between the different target bodies.
Right now the graph simplification pass will copy the target body into all new targets whenever it can.
This bloats the IR and can cause unnecessary issues for codegen.
Instead we only want to do this if the value usages of the body actually varies between the different target bodies.