[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 23:01:43 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-expensive-checks-debian` running on `gribozavr4` while building `llvm` at step 6 "test-build-unified-tree-check-all".

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

<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/GlobalISel/dynamic-alloca-divergent.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: not /b/1/llvm-clang-x86_64-expensive-checks-debian/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 /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck -check-prefix=ERR /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll
+ not /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/llc -global-isel -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -global-isel-abort=2 '-pass-remarks-missed=gisel.*' -verify-machineinstrs -o /dev/null /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck -check-prefix=ERR /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/dynamic-alloca-divergent.ll
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/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: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/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