Skip to content

An array of iarrays is an addr array, not a genarray#2853

Merged
goldfirere merged 2 commits intomainfrom
nroberts-fix-iarray-of-iarray-element-kind
Jul 25, 2024
Merged

An array of iarrays is an addr array, not a genarray#2853
goldfirere merged 2 commits intomainfrom
nroberts-fix-iarray-of-iarray-element-kind

Conversation

@ncik-roberts
Copy link
Copy Markdown
Contributor

As title. This helps the optimizer elide "is it a float?" checks when operating over arrays of iarrays (and iarrays of iarrays).

The first commit adds a regression test that shows the old output, and the second commit fixes the omission that led to the bug.

@goldfirere goldfirere merged commit 06f0eb8 into main Jul 25, 2024
@goldfirere goldfirere deleted the nroberts-fix-iarray-of-iarray-element-kind branch July 25, 2024 19:05
lukemaurer pushed a commit that referenced this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants