Skip to content

Conversation

@farzonl
Copy link
Member

@farzonl farzonl commented Dec 18, 2025

fixes #630

This change just does single subscript gets\sets.
It reserves swizzle use to only when a matrix single index is constant in the subscript.

fixes llvm#630

This change just does single subscript gets\sets.
It reserves swizzle use to only when a matrix single index
is constant in the subscript.
@farzonl farzonl force-pushed the task/single-subscript-basic-issue-630 branch from dd01ce9 to e683e20 Compare December 18, 2025 07:24
@farzonl farzonl added the test-all When applied to a PR this will opt-in to additional pre-merge test configurations.. label Dec 18, 2025
@farzonl farzonl force-pushed the task/single-subscript-basic-issue-630 branch from 1eec657 to 8202a1f Compare December 19, 2025 18:29
Copy link
Collaborator

@spall spall left a comment

Choose a reason for hiding this comment

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

small comment but lgtm

Data: [ 1, 2, 3, 4, 5, 6]
- Name: Index
Format: Int32
Data: [ 1, 0]
Copy link
Collaborator

Choose a reason for hiding this comment

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

index at zero isn't used? You could make this of size 1?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test-all When applied to a PR this will opt-in to additional pre-merge test configurations..

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Matrix] Add Basic single subscript tests that don't swizzle

3 participants