Skip to content

Remove repr(simd) attribute and use a lang-item instead #63633

Open
@gnzlbg

Description

@gnzlbg

After #63531, we should, at some point, expose a #[lang = "packed_simd"] struct Simd<T, const N: usize>([T; N]); from libcore that we handle specially in the compiler instead of using a #[repr(simd)] attribute for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-SIMDArea: SIMD (Single Instruction Multiple Data)C-cleanupCategory: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions