[clang] [llvm] [NFC][AMDGPU] Pre-commit clang and llvm tests for dynamic allocas (PR #120063)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 22:58:17 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `llvm` at step 8 "Add check check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/13297

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 8 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -global-isel -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel-abort=2 -pass-remarks-missed="gisel.*" -verify-machineinstrs -o /dev/null 2>&1 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=ERR /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll
+ /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefix=ERR /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll
+ not /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -global-isel -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel-abort=2 '-pass-remarks-missed=gisel.*' -verify-machineinstrs -o /dev/null /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll:16:8: error: ERR: expected string not found in input
; ERR: remark: <unknown>:0:0: cannot select: %{{[0-9]+}}:sreg_32(p5) = G_DYN_STACKALLOC %{{[0-9]+}}:vgpr(s32), 1 (in function: kernel_dynamic_stackalloc_vgpr_default_align)
       ^
<stdin>:3:124: note: scanning from here
error: <unknown>:0:0: in function kernel_dynamic_stackalloc_vgpr_align4 void (ptr addrspace(1)): unsupported dynamic alloca
                                                                                                                           ^

Input file: <stdin>
Check file: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          1: remark: <unknown>:0:0: cannot select: %29:sreg_32(p5) = G_DYN_STACKALLOC %28:vgpr(s32), 1 (in function: kernel_dynamic_stackalloc_vgpr_align4) 
          2: warning: Instruction selection used fallback path for kernel_dynamic_stackalloc_vgpr_align4 
          3: error: <unknown>:0:0: in function kernel_dynamic_stackalloc_vgpr_align4 void (ptr addrspace(1)): unsupported dynamic alloca 
check:16                                                                                                                                X error: no match found
          4:  
check:16     ~
          5:  
check:16     ~
          6: # After AMDGPU DAG->DAG Pattern Instruction Selection 
check:16     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          7: # Machine code for function kernel_dynamic_stackalloc_vgpr_align4: IsSSA, TracksLiveness 
check:16     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          8: Frame Objects: 
check:16     ~~~~~~~~~~~~~~~
          .
          .
          .
>>>>>>

--

********************


```

</details>

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


More information about the llvm-commits mailing list