[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
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/function-resource-usage.ll:597:8: error: GCN: expected string not found in input
; 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)
       ^
<stdin>:2381:132: note: scanning from here
 .set multi_call_with_multi_stage_recurse.num_agpr, max(0, use_stack0.num_agpr, use_stack1.num_agpr, multi_stage_recurse1.num_agpr)
                                                                                                                                   ^
<stdin>:2382:2: note: possible intended match here
 .set multi_call_with_multi_stage_recurse.numbered_sgpr, max(45, use_stack0.numbered_sgpr, use_stack1.numbered_sgpr, multi_stage_recurse1.numbered_sgpr)
 ^

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:
<<<<<<
             1:  .text 
             2:  .amdgcn_target "amdgcn-amd-amdhsa--gfx900" 
             3:  .amdhsa_code_object_version 5 
             4:  .globl use_vcc ; -- Begin function use_vcc 
             5:  .p2align 2 
             6:  .type use_vcc, at function 
             7: use_vcc: ; @use_vcc 
label:5'0       ^~~~~~~~
label:5'1       ^~~~~~~~
             8: ; %bb.0: 
             9:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
            10:  ;;#ASMSTART 
            11:  ;;#ASMEND 
            12:  s_setpc_b64 s[30:31] 
            13: .Lfunc_end0: 
            14:  .size use_vcc, .Lfunc_end0-use_vcc 
            15:  ; -- End function 
            16:  .set use_vcc.num_vgpr, 0 
check:6          ^~~~~~~~~~~~~~~~~~~~~~~~
            17:  .set use_vcc.num_agpr, 0 
check:7          ^~~~~~~~~~~~~~~~~~~~~~~~
            18:  .set use_vcc.numbered_sgpr, 32 
check:8          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            19:  .set use_vcc.private_seg_size, 0 
check:9          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

```

</details>

https://github.com/llvm/llvm-project/pull/112251


More information about the llvm-commits mailing list