forked from hail-is/hail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[compiler] Emit
Let
Bindings Iteratively (hail-is#14163)
Previously `Emit(?:Stream)?$` would emit let bindings recursively, regardless of if that binding was used. If a stream is not used, `Emit(?:Stream)?$` would define its missing labels, making emission recursive. This can lead to stack overflows for large numbers of let-bindings (and does so for the benchmark benchmark `matrix-multi-write-nothing`). By not emitting unused streams, we can make let-binding emission iterative.
- Loading branch information
Showing
4 changed files
with
81 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters