Skip to content

Conversation

@tautschnig
Copy link
Member

Fixes the projection mismatch error that occurs when using the simd_as intrinsic with array-based SIMD types. The issue manifested when executing code with SIMD types that use array representations (e.g., #[repr(simd)] struct V<T>([T; 2])), causing projection mismatches and "unsupported constructs" warnings.

Resolves: #2264

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Fixes the projection mismatch error that occurs when using the `simd_as`
intrinsic with array-based SIMD types. The issue manifested when
executing code with SIMD types that use array representations (e.g.,
`#[repr(simd)] struct V<T>([T; 2]))`, causing projection mismatches and
"unsupported constructs" warnings.

Resolves: model-checking#2264
@tautschnig tautschnig requested a review from a team as a code owner November 11, 2025 14:07
@github-actions github-actions bot added Z-EndToEndBenchCI Tag a PR to run benchmark CI Z-CompilerBenchCI Tag a PR to run benchmark CI labels Nov 11, 2025
@tautschnig tautschnig self-assigned this Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Z-CompilerBenchCI Tag a PR to run benchmark CI Z-EndToEndBenchCI Tag a PR to run benchmark CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Projection mismatch when declaring array-based SIMD

1 participant