Skip to content

Check for required target features when evaluating LLVM intrinsics #3178

Closed
@eduardosm

Description

@eduardosm

Many LLVM intrinsics require some target features (e.g., llvm.x86.sse.* intrinsics generally require the x86 SSE feature)-

We are not currently checking whether they are enabled or not, since intrinsics are not defined with a #[target_feature(enable = "...")] attribute.

Noticed in #3176 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions