[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: Linux-->
# :penguin: Linux x64 Test Results

* 172854 tests passed
* 3171 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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/gfx125-user-sgpr-encoding.mir -o - | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -triple=amdgcn-amd-amdhsa -mcpu=gfx1250 -filetype=null
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1250 -o -
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: error: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc: <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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -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 /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc --amdhsa-code-object-version=4 -triple amdgcn-amd-amdhsa -mcpu=gfx90a /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/AMDGPU/user-sgpr-count-diag.s -filetype=null 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ERR /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/AMDGPU/user-sgpr-count-diag.s
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc --amdhsa-code-object-version=4 -triple amdgcn-amd-amdhsa -mcpu=gfx90a /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=ERR /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/MC/AMDGPU/user-sgpr-count-diag.s
# .---command stderr------------
# | /home/gha/actions-runner/_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
# | /home/gha/actions-runner/_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"
# | /home/gha/actions-runner/_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:102: note: possible intended match here
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_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: /home/gha/actions-runner/_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: /home/gha/actions-runner/_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