Skip to content

1.39.0 new tests sync::atomic::Atomic*::fetch_{min,max} fail on mips* #67167

@infinity0

Description

@infinity0

Tests were ran on 64- and 32-bit little-endian, Debian dropped support for big-endian a few months ago.

One example:

---- num/mod.rs - sync::atomic::AtomicI16::fetch_max (line 49) stdout ----
LLVM ERROR: Cannot select: 0x561489c8: i32,ch = AtomicLoadMax<(volatile load store monotonic 2 on %ir.0)> 0x56149160, 0x56148f20, 0x561487d0
  0x56148f20: i32,ch = CopyFromReg 0x55fdd1d4, Register:i32 %0
    0x56148938: i32 = Register %0
  0x561487d0: i32,ch = CopyFromReg 0x55fdd1d4, Register:i32 %3
    0x561490d0: i32 = Register %3
In function: _ZN4core4sync6atomic10atomic_max17hdde194b3ab9a7f02E
Couldn't compile the test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.C-bugCategory: This is a bug.O-MIPSTarget: MIPS processorsT-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