Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve constant array inference #6290

Merged
merged 1 commit into from Aug 12, 2021

Conversation

weirdan
Copy link
Collaborator

@weirdan weirdan commented Aug 11, 2021

This fixes int offset inference and adds handling for array unpacks in constant arrays. Mostly it's copy/pasted from ArrayAnalyzer with further adjustments.

Fixes #6263
Fixes #6289

@weirdan weirdan requested a review from orklah August 11, 2021 22:55
Copy link
Collaborator

@orklah orklah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems great!

This fixes int offset inference and adds handling for array unpacks in
constant arrays. Mostly it's copy/pasted from `ArrayAnalyzer` with
further adjustments.

Fixes vimeo#6263
Fixes vimeo#6289
@weirdan weirdan merged commit c4def5d into vimeo:master Aug 12, 2021
@weirdan weirdan deleted the unpack-in-constant-arrays branch August 12, 2021 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants