[llvm] [AMDGPU] Add baseline test to show spilling of wmma scale. NFC (PR #168163)

via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 10:51:38 PST 2025


github-actions[bot] wrote:

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

* 166039 tests passed
* 2833 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/regalloc-spill-wmma-scale.ll</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 -mcpu=gfx1250 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-spill-wmma-scale.ll | /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/regalloc-spill-wmma-scale.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn -mcpu=gfx1250
# 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/regalloc-spill-wmma-scale.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-spill-wmma-scale.ll:6:10: error: CHECK: expected string not found in input
# | ; CHECK: ; ScratchSize: 12
# |          ^
# | <stdin>:1:1: note: scanning from here
# |  .section .AMDGPU.config,"", at progbits
# | ^
# | <stdin>:19:11: note: possible intended match here
# |  s_lshr_b32 s1, ttmp7, 16
# |           ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/regalloc-spill-wmma-scale.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            1:  .section .AMDGPU.config,"", at progbits 
# | check:6'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# |            2:  .long 47176 
# | check:6'0     ~~~~~~~~~~~~~
# |            3:  .long 3222208544 
# | check:6'0     ~~~~~~~~~~~~~~~~~~
# |            4:  .long 47180 
# | check:6'0     ~~~~~~~~~~~~~
# |            5:  .long 5008 
# | check:6'0     ~~~~~~~~~~~~
# |            6:  .long 47200 
# | check:6'0     ~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           14:  .p2align 8 
# | check:6'0     ~~~~~~~~~~~~
# |           15:  .type spill_scale_test, at function 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           16: spill_scale_test: ; @spill_scale_test 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           17: ; %bb.0: ; %bb 
# | check:6'0     ~~~~~~~~~~~~~~~
# |           18:  s_bfe_u32 s0, ttmp6, 0x40014 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           19:  s_lshr_b32 s1, ttmp7, 16 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:6'1               ?                possible intended match
# |           20:  s_add_co_i32 s0, s0, 1 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           21:  s_bfe_u32 s2, ttmp6, 0x40008 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           22:  s_mul_i32 s0, s1, s0 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~
# |           23:  s_getreg_b32 s3, hwreg(HW_REG_IB_STS2, 6, 4) 
# | check:6'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           24:  s_add_co_i32 s2, s2, s0 
# | check:6'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/168163


More information about the llvm-commits mailing list