[llvm] [AMDGPU][MC] update USER_SGPR_COUNT bits for GFX1250 (PR #192579)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 16 19:50:22 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 133708 tests passed
* 3121 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/gfx125-user-sgpr-encoding.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx125-user-sgpr-encoding.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe -triple=amdgcn-amd-amdhsa -mcpu=gfx1250 -filetype=null
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -o -
# .---command stderr------------
# | c:\_work\llvm-project\llvm-project\build\bin\llc.exe: error: c:\_work\llvm-project\llvm-project\build\bin\llc.exe: <stdin>:12:3: error: redefinition of argument '%a28'
# | i32 inreg %a28, i32 inreg %a29, i32 inreg %a30, i32 inreg %a32) {
# | ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' -triple=amdgcn-amd-amdhsa -mcpu=gfx1250 -filetype=null
# note: command had no output on stdout or stderr
--
```
</details>
<details>
<summary>LLVM.MC/AMDGPU/user-sgpr-count-diag.s</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
not c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe --amdhsa-code-object-version=4 -triple amdgcn-amd-amdhsa -mcpu=gfx90a C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s -filetype=null 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=ERR C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s
# executed command: not 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mc.exe' --amdhsa-code-object-version=4 -triple amdgcn-amd-amdhsa -mcpu=gfx90a 'C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s' -filetype=null
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=ERR 'C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s:9:9: error: ERR: expected string not found in input
# | // ERR: :[[@LINE+1]]:19: error: amdgpu_user_sgpr_count smaller than than implied by enabled user SGPRs
# | ^
# | <stdin>:1:1: note: scanning from here
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s:10:19: error: amdgpu_user_sgpr_count smaller than implied by enabled user SGPRs
# | ^
# | <stdin>:1:1: note: with "@LINE+1" equal to "10"
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s:10:19: error: amdgpu_user_sgpr_count smaller than implied by enabled user SGPRs
# | ^
# | <stdin>:1:80: note: possible intended match here
# | C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s:10:19: error: amdgpu_user_sgpr_count smaller than implied by enabled user SGPRs
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s:10:19: error: amdgpu_user_sgpr_count smaller than implied by enabled user SGPRs
# | check:9'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | check:9'1 with "@LINE+1" equal to "10"
# | check:9'2 ? possible intended match
# | 2: .end_amdhsa_kernel
# | check:9'0 ~~~~~~~~~~~~~~~~~~~
# | 3: ^
# | check:9'0 ~~~
# | 4: C:\_work\llvm-project\llvm-project\llvm\test\MC\AMDGPU\user-sgpr-count-diag.s:19:19: error: amdgpu_user_sgpr_count smaller than implied by enabled user SGPRs
# | check:9'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 5: .end_amdhsa_kernel
# | check:9'0 ~~~~~~~~~~~~~~~~~~~
# | 6: ^
# | check:9'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/192579
More information about the llvm-commits
mailing list