[llvm] [FunctionAttrs] Add the "initializes" attribute inference (PR #97373)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 21:56:01 PST 2024
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 `llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/8404
<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)
...
[832/1347] Linking CXX executable tools/clang/unittests/AST/ASTTests
[832/1347] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/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 clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/wasm-ld
-- Testing: 21526 tests, 60 workers --
Testing: 0.. 10
FAIL: Clang :: CodeGen/AArch64/pure-scalable-args.c (3062 of 21526)
******************** TEST 'Clang :: CodeGen/AArch64/pure-scalable-args.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/lib/clang/20/include -nostdsysteminc -O3 -triple aarch64 -target-feature +sve -target-feature +sve2p1 -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c --check-prefixes=CHECK,CHECK-AAPCS
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c --check-prefixes=CHECK,CHECK-AAPCS
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/lib/clang/20/include -nostdsysteminc -O3 -triple aarch64 -target-feature +sve -target-feature +sve2p1 -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c:311:17: error: CHECK-AAPCS: expected string not found in input
// CHECK-AAPCS: define dso_local void @test_return_big_pst(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.BigPST) align 16 %agg.result, ptr nocapture noundef readonly %p)
^
<stdin>:376:65: note: scanning from here
define dso_local <vscale x 4 x float> @test_return_small_pst(ptr nocapture noundef readonly %p) local_unnamed_addr #6 {
^
<stdin>:384:1: note: possible intended match here
define dso_local void @test_return_big_pst(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.BigPST) align 16 initializes((0, 176)) %agg.result, ptr nocapture noundef readonly %p) local_unnamed_addr #7 {
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
371: %7 = insertvalue <{ <vscale x 16 x i1>, <vscale x 2 x double>, <vscale x 4 x float>, <vscale x 4 x float>, <vscale x 16 x i8>, <vscale x 16 x i1> }> %6, <vscale x 16 x i1> %1, 5
372: ret <{ <vscale x 16 x i1>, <vscale x 2 x double>, <vscale x 4 x float>, <vscale x 4 x float>, <vscale x 16 x i8>, <vscale x 16 x i1> }> %7
373: }
374:
375: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) vscale_range(1,1)
376: define dso_local <vscale x 4 x float> @test_return_small_pst(ptr nocapture noundef readonly %p) local_unnamed_addr #6 {
check:311'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
377: entry:
check:311'0 ~~~~~~~
378: %retval.sroa.0.0.copyload = load <4 x float>, ptr %p, align 16, !tbaa !3
Step 7 (check) failure: check (failure)
...
[832/1347] Linking CXX executable tools/clang/unittests/AST/ASTTests
[832/1347] Running the Clang regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using clang: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/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 clang-repl in /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin:/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/wasm-ld
-- Testing: 21526 tests, 60 workers --
Testing: 0.. 10
FAIL: Clang :: CodeGen/AArch64/pure-scalable-args.c (3062 of 21526)
******************** TEST 'Clang :: CodeGen/AArch64/pure-scalable-args.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/lib/clang/20/include -nostdsysteminc -O3 -triple aarch64 -target-feature +sve -target-feature +sve2p1 -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c --check-prefixes=CHECK,CHECK-AAPCS
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c --check-prefixes=CHECK,CHECK-AAPCS
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/bin/clang -cc1 -internal-isystem /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-agk9_1cn/lib/clang/20/include -nostdsysteminc -O3 -triple aarch64 -target-feature +sve -target-feature +sve2p1 -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c:311:17: error: CHECK-AAPCS: expected string not found in input
// CHECK-AAPCS: define dso_local void @test_return_big_pst(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.BigPST) align 16 %agg.result, ptr nocapture noundef readonly %p)
^
<stdin>:376:65: note: scanning from here
define dso_local <vscale x 4 x float> @test_return_small_pst(ptr nocapture noundef readonly %p) local_unnamed_addr #6 {
^
<stdin>:384:1: note: possible intended match here
define dso_local void @test_return_big_pst(ptr dead_on_unwind noalias nocapture writable writeonly sret(%struct.BigPST) align 16 initializes((0, 176)) %agg.result, ptr nocapture noundef readonly %p) local_unnamed_addr #7 {
^
Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
371: %7 = insertvalue <{ <vscale x 16 x i1>, <vscale x 2 x double>, <vscale x 4 x float>, <vscale x 4 x float>, <vscale x 16 x i8>, <vscale x 16 x i1> }> %6, <vscale x 16 x i1> %1, 5
372: ret <{ <vscale x 16 x i1>, <vscale x 2 x double>, <vscale x 4 x float>, <vscale x 4 x float>, <vscale x 16 x i8>, <vscale x 16 x i1> }> %7
373: }
374:
375: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) vscale_range(1,1)
376: define dso_local <vscale x 4 x float> @test_return_small_pst(ptr nocapture noundef readonly %p) local_unnamed_addr #6 {
check:311'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
377: entry:
check:311'0 ~~~~~~~
378: %retval.sroa.0.0.copyload = load <4 x float>, ptr %p, align 16, !tbaa !3
```
</details>
https://github.com/llvm/llvm-project/pull/97373
More information about the llvm-commits
mailing list