[llvm] [AMDGPU] Relax restrictions on amdgcn.cs.chain intrinsic (PR #169785)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 8 06:48:14 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166863 tests passed
* 2911 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgcn--amdpal -mcpu=gfx1100 -stop-after=finalize-isel < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GISEL-GFX11 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=1 -mtriple=amdgcn--amdpal -mcpu=gfx1100 -stop-after=finalize-isel
# 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=GISEL-GFX11 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll:290:22: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: [[COPY10:%[0-9]+]]:ccr_sgpr_64 = COPY [[REG_SEQUENCE]]
# | ^
# | <stdin>:518:65: note: scanning from here
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:518:65: note: with "REG_SEQUENCE" equal to "%20"
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:519:2: note: possible intended match here
# | %11:sgpr_64 = COPY %20
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll:416:22: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: [[COPY10:%[0-9]+]]:ccr_sgpr_64 = COPY [[REG_SEQUENCE]]
# | ^
# | <stdin>:663:65: note: scanning from here
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:663:65: note: with "REG_SEQUENCE" equal to "%20"
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:664:2: note: possible intended match here
# | %11:sgpr_64 = COPY %20
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll:542:22: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: [[COPY10:%[0-9]+]]:ccr_sgpr_64 = COPY [[REG_SEQUENCE]]
# | ^
# | <stdin>:808:65: note: scanning from here
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:808:65: note: with "REG_SEQUENCE" equal to "%20"
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:809:2: note: possible intended match here
# | %11:sgpr_64 = COPY %20
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll:668:22: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: [[COPY10:%[0-9]+]]:ccr_sgpr_64 = COPY [[REG_SEQUENCE]]
# | ^
# | <stdin>:953:65: note: scanning from here
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:953:65: note: with "REG_SEQUENCE" equal to "%20"
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:954:2: note: possible intended match here
# | %11:sgpr_64 = COPY %20
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll:794:22: error: GISEL-GFX11-NEXT: expected string not found in input
# | ; GISEL-GFX11-NEXT: [[COPY10:%[0-9]+]]:ccr_sgpr_64 = COPY [[REG_SEQUENCE]]
# | ^
# | <stdin>:1098:65: note: scanning from here
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:1098:65: note: with "REG_SEQUENCE" equal to "%20"
# | %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | ^
# | <stdin>:1099:2: note: possible intended match here
# | %11:sgpr_64 = COPY %20
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/isel-amdgcn-cs-chain-intrinsic-w32.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 513: $vgpr9 = COPY %2
# | 514: $vgpr10 = COPY %3
# | 515: $vgpr11 = COPY %4
# | 516: %18:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-lo) @callee
# | 517: %19:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-hi) @callee
# | 518: %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | next:290'0 X error: no match found
# | next:290'1 with "REG_SEQUENCE" equal to "%20"
# | 519: %11:sgpr_64 = COPY %20
# | next:290'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | next:290'2 ? possible intended match
# | 520: SI_CS_CHAIN_TC_W32 %11, @callee, 0, -1, amdgpu_allvgprs, implicit $sgpr0, implicit $sgpr1, implicit $sgpr2, implicit $vgpr8, implicit $vgpr9, implicit $vgpr10, implicit $vgpr11
# | next:290'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 521: ...
# | next:290'0 ~~~~
# | 522: ---
# | next:290'0 ~~~~
# | 523: name: gs_to_chain
# | next:290'0 ~~~~~~~~~~~~~~~~~
# | 524: alignment: 1
# | .
# | .
# | .
# | 658: $vgpr9 = COPY %2
# | 659: $vgpr10 = COPY %3
# | 660: $vgpr11 = COPY %4
# | 661: %18:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-lo) @callee
# | 662: %19:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-hi) @callee
# | 663: %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | next:416'0 X error: no match found
# | next:416'1 with "REG_SEQUENCE" equal to "%20"
# | 664: %11:sgpr_64 = COPY %20
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | next:416'2 ? possible intended match
# | 665: SI_CS_CHAIN_TC_W32 %11, @callee, 0, -1, amdgpu_allvgprs, implicit $sgpr0, implicit $sgpr1, implicit $sgpr2, implicit $vgpr8, implicit $vgpr9, implicit $vgpr10, implicit $vgpr11
# | next:416'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 666: ...
# | next:416'0 ~~~~
# | 667: ---
# | next:416'0 ~~~~
# | 668: name: hs_to_chain
# | next:416'0 ~~~~~~~~~~~~~~~~~
# | 669: alignment: 1
# | .
# | .
# | .
# | 803: $vgpr9 = COPY %2
# | 804: $vgpr10 = COPY %3
# | 805: $vgpr11 = COPY %4
# | 806: %18:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-lo) @callee
# | 807: %19:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-hi) @callee
# | 808: %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | next:542'0 X error: no match found
# | next:542'1 with "REG_SEQUENCE" equal to "%20"
# | 809: %11:sgpr_64 = COPY %20
# | next:542'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | next:542'2 ? possible intended match
# | 810: SI_CS_CHAIN_TC_W32 %11, @callee, 0, -1, amdgpu_allvgprs, implicit $sgpr0, implicit $sgpr1, implicit $sgpr2, implicit $vgpr8, implicit $vgpr9, implicit $vgpr10, implicit $vgpr11
# | next:542'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 811: ...
# | next:542'0 ~~~~
# | 812: ---
# | next:542'0 ~~~~
# | 813: name: ls_to_chain
# | next:542'0 ~~~~~~~~~~~~~~~~~
# | 814: alignment: 1
# | .
# | .
# | .
# | 948: $vgpr9 = COPY %2
# | 949: $vgpr10 = COPY %3
# | 950: $vgpr11 = COPY %4
# | 951: %18:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-lo) @callee
# | 952: %19:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-hi) @callee
# | 953: %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | next:668'0 X error: no match found
# | next:668'1 with "REG_SEQUENCE" equal to "%20"
# | 954: %11:sgpr_64 = COPY %20
# | next:668'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | next:668'2 ? possible intended match
# | 955: SI_CS_CHAIN_TC_W32 %11, @callee, 0, -1, amdgpu_allvgprs, implicit $sgpr0, implicit $sgpr1, implicit $sgpr2, implicit $vgpr8, implicit $vgpr9, implicit $vgpr10, implicit $vgpr11
# | next:668'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 956: ...
# | next:668'0 ~~~~
# | 957: ---
# | next:668'0 ~~~~
# | 958: name: vs_to_chain
# | next:668'0 ~~~~~~~~~~~~~~~~~
# | 959: alignment: 1
# | .
# | .
# | .
# | 1093: $vgpr9 = COPY %2
# | 1094: $vgpr10 = COPY %3
# | 1095: $vgpr11 = COPY %4
# | 1096: %18:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-lo) @callee
# | 1097: %19:sreg_32 = S_MOV_B32 target-flags(amdgpu-abs32-hi) @callee
# | 1098: %20:sreg_64 = REG_SEQUENCE %18, %subreg.sub0, %19, %subreg.sub1
# | next:794'0 X error: no match found
# | next:794'1 with "REG_SEQUENCE" equal to "%20"
# | 1099: %11:sgpr_64 = COPY %20
# | next:794'0 ~~~~~~~~~~~~~~~~~~~~~~~~
# | next:794'2 ? possible intended match
# | 1100: SI_CS_CHAIN_TC_W32 %11, @callee, 0, -1, amdgpu_allvgprs, implicit $sgpr0, implicit $sgpr1, implicit $sgpr2, implicit $vgpr8, implicit $vgpr9, implicit $vgpr10, implicit $vgpr11
# | next:794'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1101: ...
# | next:794'0 ~~~~
# | 1102: ---
# | next:794'0 ~~~~
# | 1103: name: chain_to_chain_preserve
# | next:794'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 1104: alignment: 1
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/169785
More information about the llvm-commits
mailing list