[llvm] [AMDGPU] Enable lane masks tracking in coexec scheduler. (PR #194578)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 03:11:54 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 173371 tests passed
* 3264 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/coexec-scheduler.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-sched-strategy=coexec --enable-post-misched=0 --verify-misched  < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=COEXEC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -amdgpu-sched-strategy=coexec --enable-post-misched=0 --verify-misched
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=COEXEC /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll:17:16: error: COEXEC-NEXT: is not on the line after the previous match
# | ; COEXEC-NEXT: s_wait_kmcnt 0x0
# |                ^
# | <stdin>:29:2: note: 'next' match was here
# |  s_wait_kmcnt 0x0
# |  ^
# | <stdin>:16:48: note: previous match ended here
# |  v_dual_mov_b32 v3, v0 :: v_dual_mov_b32 v4, v0
# |                                                ^
# | <stdin>:17:1: note: non-matching line after previous match is here
# |  v_dual_mov_b32 v5, v0 :: v_dual_mov_b32 v6, v0
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll:262:16: error: COEXEC-NEXT: expected string not found in input
# | ; COEXEC-NEXT: v_mov_b32_e32 v3, v0
# |                ^
# | <stdin>:188:48: note: scanning from here
# |  v_dual_mov_b32 v1, v0 :: v_dual_mov_b32 v2, v0
# |                                                ^
# | <stdin>:206:2: note: possible intended match here
# |  v_mov_b32_e32 v30, v0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/coexec-scheduler.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            24:  v_dual_mov_b32 v19, v0 :: v_dual_mov_b32 v20, v0 
# |            25:  v_dual_mov_b32 v21, v0 :: v_dual_mov_b32 v22, v0 
# |            26:  v_dual_mov_b32 v23, v0 :: v_dual_mov_b32 v24, v0 
# |            27:  v_dual_mov_b32 v25, v0 :: v_dual_mov_b32 v26, v0 
# |            28:  v_dual_mov_b32 v27, v0 :: v_dual_mov_b32 v28, v0 
# |            29:  s_wait_kmcnt 0x0 
# | next:17         !~~~~~~~~~~~~~~~  error: match on wrong line
# |            30:  s_bitcmp1_b32 s0, 0 
# |            31:  v_mov_b32_e32 v29, v0 
# |            32:  s_cselect_b32 s0, -1, 0 
# |            33:  v_mov_b32_e32 v30, v0 
# |            34:  s_xor_b32 s0, s0, -1 
# |             .
# |             .
# |             .
# |           183:  s_clause 0x1 
# |           184:  s_load_b64 s[2:3], s[4:5], 0x0 nv 
# |           185:  s_load_b64 s[0:1], s[4:5], 0x10 nv 
# |           186:  v_mov_b32_e32 v0, 0 
# |           187:  s_delay_alu instid0(VALU_DEP_1) 
# |           188:  v_dual_mov_b32 v1, v0 :: v_dual_mov_b32 v2, v0 
# | next:262'0                                                    X error: no match found
# |           189:  v_dual_mov_b32 v3, v0 :: v_dual_mov_b32 v4, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           190:  v_dual_mov_b32 v5, v0 :: v_dual_mov_b32 v6, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           191:  v_dual_mov_b32 v7, v0 :: v_dual_mov_b32 v8, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           192:  v_dual_mov_b32 v9, v0 :: v_dual_mov_b32 v10, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           193:  v_dual_mov_b32 v11, v0 :: v_dual_mov_b32 v12, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# |           201:  v_dual_mov_b32 v27, v0 :: v_dual_mov_b32 v28, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           202:  s_wait_kmcnt 0x0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~
# |           203:  s_bitcmp1_b32 s0, 0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~
# |           204:  v_mov_b32_e32 v29, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           205:  s_cselect_b32 s0, -1, 0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |           206:  v_mov_b32_e32 v30, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~
# | next:262'1      ?                      possible intended match
# |           207:  s_xor_b32 s0, s0, -1 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           208:  v_mov_b32_e32 v31, v0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |           209:  v_cndmask_b32_e64 v32, 0, 1, s0 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           210:  s_delay_alu instid0(VALU_DEP_1) 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           211:  v_cmp_ne_u32_e64 s0, 1, v32 
# | next:262'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list