Skip to content

Add missing reverse bits intrinsic that maps to llvm.bitreverse.iX #39410

Closed
@gnzlbg

Description

@gnzlbg

LLVM is not capable of lowering reverse bit algorithms into the appropriate assembly instructions on armv8. Clang ended up adding an intrinsic for this: __builtin_bitreverse. Rustc should probably do the same thing. This intrinsic maps to llvm.bitreverse.iX.

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