[clang] [llvm] [Clang][LoongArch] Support target attribute for function (PR #140700)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Thu May 29 05:16:47 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/16173
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
[849/1374] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/wasm-ld
-- Testing: 21544 tests, 60 workers --
Testing: 0.. 10.
FAIL: Clang :: CodeGen/LoongArch/targetattr.c (3867 of 21544)
******************** TEST 'Clang :: CodeGen/LoongArch/targetattr.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/clang --target=loongarch64-linux-gnu /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c -S -emit-llvm -o - | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/clang --target=loongarch64-linux-gnu /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c -S -emit-llvm -o -
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c:8:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:11:1: note: 'next' match was here
; Function Attrs: noinline nounwind optnone
^
<stdin>:7:40: note: previous match ended here
define dso_local void @testdiv32() #0 {
^
<stdin>:8:1: note: non-matching line after previous match is here
ret void
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c:16:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:16:1: note: 'next' match was here
; Function Attrs: noinline nounwind optnone
^
<stdin>:12:46: note: previous match ended here
define dso_local void @testLoongarch64() #1 {
^
<stdin>:13:1: note: non-matching line after previous match is here
ret void
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c:24:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:21:1: note: 'next' match was here
; Function Attrs: noinline nounwind optnone
^
Step 7 (check) failure: check (failure)
...
[849/1374] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/clang
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find cir-opt in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/subst.py:126: note: Did not find clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:520: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/wasm-ld
-- Testing: 21544 tests, 60 workers --
Testing: 0.. 10.
FAIL: Clang :: CodeGen/LoongArch/targetattr.c (3867 of 21544)
******************** TEST 'Clang :: CodeGen/LoongArch/targetattr.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/clang --target=loongarch64-linux-gnu /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c -S -emit-llvm -o - | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/clang --target=loongarch64-linux-gnu /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c -S -emit-llvm -o -
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-ilqvuc8n/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c:8:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:11:1: note: 'next' match was here
; Function Attrs: noinline nounwind optnone
^
<stdin>:7:40: note: previous match ended here
define dso_local void @testdiv32() #0 {
^
<stdin>:8:1: note: non-matching line after previous match is here
ret void
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c:16:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:16:1: note: 'next' match was here
; Function Attrs: noinline nounwind optnone
^
<stdin>:12:46: note: previous match ended here
define dso_local void @testLoongarch64() #1 {
^
<stdin>:13:1: note: non-matching line after previous match is here
ret void
^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/LoongArch/targetattr.c:24:16: error: CHECK-NEXT: is not on the line after the previous match
// CHECK-NEXT: [[ENTRY:.*:]]
^
<stdin>:21:1: note: 'next' match was here
; Function Attrs: noinline nounwind optnone
^
```
</details>
https://github.com/llvm/llvm-project/pull/140700
More information about the cfe-commits
mailing list