[llvm] [AMDGPU] Change the immediate operand of s_waitcnt_depctr / s_wait_alu (PR #169378)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 25 04:13:49 PST 2025


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/27989

<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/valu-mask-write-hazard.mir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -verify-machineinstrs -run-pass post-RA-hazard-rec -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefixes=GCN,GFX11 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llc -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -verify-machineinstrs -run-pass post-RA-hazard-rec -o - /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# note: command had no output on stdout or stderr
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck -check-prefixes=GCN,GFX11 /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# .---command stderr------------
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir:1057:16: error: GFX11-NEXT: expected string not found in input
# |  ; GFX11-NEXT: S_WAITCNT_DEPCTR 65533
# |                ^
# | <stdin>:5165:63: note: scanning from here
# |  V_CMP_NE_U32_e32 0, $vgpr5, implicit-def $vcc, implicit $exec
# |                                                               ^
# | <stdin>:5166:2: note: possible intended match here
# |  S_WAITCNT_DEPCTR 65437
# |  ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir:1090:16: error: GFX11-NEXT: expected string not found in input
# |  ; GFX11-NEXT: S_WAITCNT_DEPCTR 65533
# |                ^
# | <stdin>:5269:63: note: scanning from here
# |  V_CMP_NE_U32_e32 0, $vgpr5, implicit-def $vcc, implicit $exec
# |                                                               ^
# | <stdin>:5270:2: note: possible intended match here
# |  S_WAITCNT_DEPCTR 65437
# |  ^
# | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir:1126:16: error: GFX11-NEXT: expected string not found in input
# |  ; GFX11-NEXT: S_WAITCNT_DEPCTR 65533
# |                ^
# | <stdin>:5374:63: note: scanning from here
# |  V_CMP_NE_U32_e32 0, $vgpr5, implicit-def $vcc, implicit $exec
# |                                                               ^
# | <stdin>:5375:2: note: possible intended match here
# |  S_WAITCNT_DEPCTR 65437
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               1: --- | 
# |               2:  ; ModuleID = '/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir' 
# |               3:  source_filename = "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir" 
# |               4:  target datalayout = "e-m:e-p:64:64-p1:64:64-p2:32:32-p3:32:32-p4:64:64-p5:32:32-p6:32:32-p7:160:256:256:32-p8:128:128:128:48-p9:192:256:256:32-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-v2048:2048-n32:64-S32-A5-G1-ni:7:8:9" 
...

```

</details>

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


More information about the llvm-commits mailing list