-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compiler: Fix crash in beam_ssa_private_append
The beam_ssa_private_append pass can crash, if it, during initial value tracking, ends up in operations which do not create bit strings. This can happen as the initial value tracking in beam_ssa_private_append doesn't consider types. As the decision to apply the private append transform is using type information, tracking values into not type-compatible execution paths is harmless. This patch changes the beam_ssa_private_append pass to simply stop tracking a value when it is known that the type is not compatible.
- Loading branch information
Showing
2 changed files
with
27 additions
and
3 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