[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:49:22 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/8666
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'Clang :: CodeGen/AArch64/pure-scalable-args.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/20/include -nostdsysteminc -O3 -triple aarch64 -target-feature +sve -target-feature +sve2p1 -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c --check-prefixes=CHECK,CHECK-AAPCS
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/clang -cc1 -internal-isystem /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/clang/20/include -nostdsysteminc -O3 -triple aarch64 -target-feature +sve -target-feature +sve2p1 -mvscale-min=1 -mvscale-max=1 -emit-llvm -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c --check-prefixes=CHECK,CHECK-AAPCS
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c:311:17: [0m[0;1;31merror: [0m[1mCHECK-AAPCS: expected string not found in input
[0m// 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)
[0;1;32m ^
[0m[1m<stdin>:376:65: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine dso_local <vscale x 4 x float> @test_return_small_pst(ptr nocapture noundef readonly %p) local_unnamed_addr #6 {
[0;1;32m ^
[0m[1m<stdin>:384:1: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mdefine 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 {
[0;1;32m^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/clang/test/CodeGen/AArch64/pure-scalable-args.c" [0m
[0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32" [0m
[0;1;30m 4: [0m[1m[0;1;46mtarget triple = "aarch64" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m[0m%struct.PST = type { <2 x i8>, <2 x double>, [2 x <4 x float>], <16 x i8>, <2 x i8> }[0;1;46m [0m
[0;1;32mcheck:52 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46m%struct.SmallPST = type { <4 x float> } [0m
[0;1;30m 8: [0m[1m[0;1;46m%struct.BigPST = type { [2 x %struct.anon], <2 x double> } [0m
[0;1;30m 9: [0m[1m[0;1;46m%struct.anon = type { <2 x i8>, [4 x <4 x float>] } [0m
[0;1;30m 10: [0m[1m[0;1;46m%struct.__va_list = type { ptr, ptr, ptr, i32, i32 } [0m
[0;1;30m 11: [0m[1m[0;1;46m [0m
[0;1;30m 12: [0m[1m[0;1;46m; Function Attrs: nounwind vscale_range(1,1) [0m
[0;1;30m 13: [0m[1m[0;1;46m[0mdefine dso_local void @test_argpass_simple(ptr nocapture noundef readonly %p)[0;1;46m local_unnamed_addr #0 { [0m
[0;1;32mcheck:70 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 14: [0m[1m[0;1;46m[0mentry:[0;1;46m [0m
[0;1;32mnext:71 ^~~~~~
[0m[0;1;30m 15: [0m[1m[0;1;46m [0m%0 = load <2 x i8>, ptr %p, align 16[0;1;46m [0m
[0;1;32mnext:72 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 16: [0m[1m[0;1;46m [0m%cast.scalable = tail call <vscale x 2 x i8> @llvm.vector.insert.nxv2i8.v2i8(<vscale x 2 x i8> undef, <2 x i8> %0, i64 0)[0;1;46m [0m
[0;1;32mnext:73 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 17: [0m[1m[0;1;46m [0m%1 = bitcast <vscale x 2 x i8> %cast.scalable to <vscale x 16 x i1>[0;1;46m [0m
[0;1;32mnext:74 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 18: [0m[1m[0;1;46m [0m%2 = getelementptr inbounds nuw i8, ptr %p, i64 16[0;1;46m [0m
[0;1;32mnext:75 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/97373
More information about the llvm-commits
mailing list