Skip to content

Cranelift: Respect or error on big-endian flag for loads/stores on little-endian targets #10861

@bjorn3

Description

@bjorn3

Feature

See title

Benefit

Currently the endianness flags are only respected by the s390x backend. Ignoring it on other targets only causes confusion like in #10852 and is technically a miscompilation.

Implementation

Depends on which of the two options is picked.

Alternatives

Keep the status quo and keep confusing people/miscompiling code.

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