Skip to content

Commit

Permalink
[compiler] Fix mode for generating scopes for reassignments
Browse files Browse the repository at this point in the history
We have an experimental mode where we generate scopes for simple phi values, even if they aren't subsequently mutated. This mode was incorrectly generating scope ranges, leaving the start at 0 which is invalid. The fix is to allow non-zero identifier ranges to overwrite the scope start (rather than taking the min) if the scope start is still zero.

ghstack-source-id: ecbb04c96ed4de62f781e48cda46309c42aa07e0
Pull Request resolved: facebook#30321
  • Loading branch information
felixshiftellecon committed Jul 24, 2024
1 parent 2683c0a commit d8f17f5
Show file tree
Hide file tree
Showing 2 changed files with 581 additions and 540 deletions.
Loading

0 comments on commit d8f17f5

Please sign in to comment.