Skip to content

f16b.rs fails on LoongArch #163145

Closed
Closed

Description

@heiher

I tried this code on LoongArch:

./x.py test
------FileCheck stderr------------------------------                                 
/var/lib/gitlab-runner/builds/la-rs-rust/la-rs/rust/rust/tests/codegen-llvm/float/f16b.rs:11:17: error: CHECK-LABEL: expected string not found in input 
// CHECK-LABEL: define{{.*}} bfloat @identity_f16b(bfloat
...
            6: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable
            7: define half @identity_f16b(half returned %0) unnamed_addr #0 !guid !4 {
label:11'2     ?                                                                         possible intended match
            8: start:                                                           
            9:  ret half %0                                                     
           10: }

Activity

  1. added
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 22, 2026
  2. added
    A-testsuiteArea: The testsuite used to check the correctness of rustc
    O-loongarchTarget: LoongArch (LA32R, LA32S, LA64)
    and removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on Sep 22, 2026
  3. added 2 commits that reference this issue on Sep 22, 2026
    03acbd7
    4ae1ff3
  4. added a commit that references this issue on Sep 23, 2026
    9164a7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.O-loongarchTarget: LoongArch (LA32R, LA32S, LA64)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions