[llvm] AMDGPU: Expand shuffle testing with generated tests (PR #123574)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 20:20:40 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-bootstrap-ubsan` running on `sanitizer-buildbot4` while building `llvm` at step 2 "annotate".

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

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

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88530 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.
FAIL: LLVM :: CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll (32736 of 88530)
******************** TEST 'LLVM :: CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll:983:16: error: GFX900-NEXT: expected string not found in input
; GFX900-NEXT: ;;#ASMSTART
               ^
<stdin>:842:41: note: scanning from here
 s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
Step 11 (stage2/ubsan check) failure: stage2/ubsan check (failure)
...
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using lld-link: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/lld-link
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using ld64.lld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/ld64.lld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/llvm/config.py:506: note: using wasm-ld: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/wasm-ld
llvm-lit: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/utils/lit/lit/main.py:72: note: The test suite configuration requested an individual test timeout of 0 seconds but a timeout of 900 seconds was requested on the command line. Forcing timeout to be 900 seconds.
-- Testing: 88530 tests, 88 workers --
Testing:  0.. 10.. 20.. 30.
FAIL: LLVM :: CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll (32736 of 88530)
******************** TEST 'LLVM :: CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll | /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
+ /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm_build_ubsan/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
error: couldn't allocate input reg for constraint '{s[10:10]}'
/home/b/sanitizer-x86_64-linux-bootstrap-ubsan/build/llvm-project/llvm/test/CodeGen/AMDGPU/shufflevector.v2bf16.v2bf16.ll:983:16: error: GFX900-NEXT: expected string not found in input
; GFX900-NEXT: ;;#ASMSTART
               ^
<stdin>:842:41: note: scanning from here
 s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)

```

</details>

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


More information about the llvm-commits mailing list