[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:14:08 PST 2025


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 9 "Add check check-llvm".

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

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

```
Step 9 (Add check check-llvm) failure: test (failure)
******************** TEST 'LLVM :: CodeGen/AMDGPU/valu-mask-write-hazard.mir' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -verify-machineinstrs -run-pass post-RA-hazard-rec -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefixes=GCN,GFX11 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# executed command: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/llc -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -verify-machineinstrs -run-pass post-RA-hazard-rec -o - /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# executed command: /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.build/bin/FileCheck -check-prefixes=GCN,GFX11 /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# .---command stderr------------
# | /home/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/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/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/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/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/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/botworker/bbot/builds/openmp-offload-sles-build/llvm.src/llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           5160: body: | 
# |           5161:  bb.0: 
...

```

</details>

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


More information about the llvm-commits mailing list