[llvm] Reapply [AMDGPU] Avoid resource propagation for recursion through multiple functions (PR #112251)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 11:01:12 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/8515
<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 'LLVM :: CodeGen/AMDGPU/function-resource-usage.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 1: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -enable-ipra=0 < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/function-resource-usage.ll | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefix=GCN /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/function-resource-usage.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -enable-ipra=0
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefix=GCN /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/function-resource-usage.ll
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/function-resource-usage.ll:597:8: [0m[0;1;31merror: [0m[1mGCN: expected string not found in input
[0m; GCN: .set multi_call_with_multi_stage_recurse.numbered_sgpr, max(43, use_stack0.numbered_sgpr, use_stack1.numbered_sgpr, multi_stage_recurse1.numbered_sgpr)
[0;1;32m ^
[0m[1m<stdin>:2381:132: [0m[0;1;30mnote: [0m[1mscanning from here
[0m .set multi_call_with_multi_stage_recurse.num_agpr, max(0, use_stack0.num_agpr, use_stack1.num_agpr, multi_stage_recurse1.num_agpr)
[0;1;32m ^
[0m[1m<stdin>:2382:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m .set multi_call_with_multi_stage_recurse.numbered_sgpr, max(45, use_stack0.numbered_sgpr, use_stack1.numbered_sgpr, multi_stage_recurse1.numbered_sgpr)
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/function-resource-usage.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m .text [0m
[0;1;30m 2: [0m[1m[0;1;46m .amdgcn_target "amdgcn-amd-amdhsa--gfx900" [0m
[0;1;30m 3: [0m[1m[0;1;46m .amdhsa_code_object_version 5 [0m
[0;1;30m 4: [0m[1m[0;1;46m .globl use_vcc ; -- Begin function use_vcc [0m
[0;1;30m 5: [0m[1m[0;1;46m .p2align 2 [0m
[0;1;30m 6: [0m[1m[0;1;46m .type use_vcc, at function [0m
[0;1;30m 7: [0m[1m[0;1;46m[0muse_vcc:[0;1;46m ; @use_vcc [0m
[0;1;32mlabel:5'0 ^~~~~~~~
[0m[0;1;32mlabel:5'1 ^~~~~~~~
[0m[0;1;30m 8: [0m[1m[0;1;46m; %bb.0: [0m
[0;1;30m 9: [0m[1m[0;1;46m s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) [0m
[0;1;30m 10: [0m[1m[0;1;46m ;;#ASMSTART [0m
[0;1;30m 11: [0m[1m[0;1;46m ;;#ASMEND [0m
[0;1;30m 12: [0m[1m[0;1;46m s_setpc_b64 s[30:31] [0m
[0;1;30m 13: [0m[1m[0;1;46m.Lfunc_end0: [0m
[0;1;30m 14: [0m[1m[0;1;46m .size use_vcc, .Lfunc_end0-use_vcc [0m
[0;1;30m 15: [0m[1m[0;1;46m ; -- End function [0m
[0;1;30m 16: [0m[1m[0;1;46m [0m.set use_vcc.num_vgpr, 0[0;1;46m [0m
[0;1;32mcheck:6 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 17: [0m[1m[0;1;46m [0m.set use_vcc.num_agpr, 0[0;1;46m [0m
[0;1;32mcheck:7 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 18: [0m[1m[0;1;46m [0m.set use_vcc.numbered_sgpr, 32[0;1;46m [0m
[0;1;32mcheck:8 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 19: [0m[1m[0;1;46m [0m.set use_vcc.private_seg_size, 0[0;1;46m [0m
[0;1;32mcheck:9 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/112251
More information about the llvm-commits
mailing list