[llvm] [SelectionDAG] Skip chain node when updating divergence (PR #173885)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 29 10:37:26 PST 2025


github-actions[bot] wrote:

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

* 167511 tests passed
* 2970 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.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=gfx1200 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.ll -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1200 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.ll -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.ll:12:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: scratch_load_b32 v5, v0, off
# |               ^
# | <stdin>:13:18: note: scanning from here
# |  s_wait_kmcnt 0x0
# |                  ^
# | <stdin>:14:2: note: possible intended match here
# |  scratch_load_b32 v4, v0, off
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/chain-node-divergence-update-crash-issue-173885.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |            8: ; %bb.0: ; %entry 
# |            9:  s_wait_loadcnt_dscnt 0x0 
# |           10:  s_wait_expcnt 0x0 
# |           11:  s_wait_samplecnt 0x0 
# |           12:  s_wait_bvhcnt 0x0 
# |           13:  s_wait_kmcnt 0x0 
# | next:12'0                      X error: no match found
# |           14:  scratch_load_b32 v4, v0, off 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:12'1      ?                             possible intended match
# |           15:  s_mov_b32 s0, 0 
# | next:12'0     ~~~~~~~~~~~~~~~~~
# |           16:  s_wait_alu depctr_sa_sdst(0) 
# | next:12'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           17:  s_mov_b32 s1, s0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~
# |           18:  s_mov_b32 s2, s0 
# | next:12'0     ~~~~~~~~~~~~~~~~~~
# |           19:  s_mov_b32 s3, s0 
# | next:12'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/173885


More information about the llvm-commits mailing list