Skip to content

LLVM 20 changes SPARC alignments, breaking some tests #131074

Closed
@durin42

Description

@durin42

llvm/llvm-project@dbad963 changes i128s to align at 16 bytes, which causes a few tests to fail:

[codegen] tests/codegen/cast-target-abi.rs#sparc64
[codegen] tests/codegen/repr/transparent-imm-array.rs#sparc
[codegen] tests/codegen/repr/transparent-sparc64.rs
[codegen] tests/codegen/sparc-struct-abi.rs
 ```

I figured I'd report this early in case some SPARC enthusiast wants to try and get to this early.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-alignArea: alignment control (`repr(align(N))` and so on)O-SPARCTarget: SPARC processors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions