[llvm] [AMDGPU] Add machineFunctionInfo to recent MIR tests (PR #179602)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 3 20:08:13 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 130428 tests passed
* 2908 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/gfx11-sgpr-hazard-latency.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -verify-machineinstrs -start-before machine-scheduler -stop-after amdgpu-wait-sgpr-hazards -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx11-sgpr-hazard-latency.mir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX11 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx11-sgpr-hazard-latency.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx1100 -mattr=+wavefrontsize64 -verify-machineinstrs -start-before machine-scheduler -stop-after amdgpu-wait-sgpr-hazards -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx11-sgpr-hazard-latency.mir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GFX11 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx11-sgpr-hazard-latency.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx11-sgpr-hazard-latency.mir:15:16: error: GFX11-NEXT: expected string not found in input
# |  ; GFX11-NEXT: S_WAITCNT 0
# |                ^
# | <stdin>:120:2: note: scanning from here
# |  
# |  ^
# | <stdin>:149:2: note: possible intended match here
# |  S_WAITCNT_DEPCTR .VaSdst_0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\gfx11-sgpr-hazard-latency.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |          115:  numKernargPreloadSGPRs: 0 
# |          116:  isWholeWaveFunction: false 
# |          117: body: | 
# |          118:  bb.0: 
# |          119:  successors: %bb.1(0x80000000) 
# |          120:   
# | next:15'0      X error: no match found
# |          121:  renamable $vgpr0 = V_MOV_B32_e32 0, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          122:  renamable $vgpr1 = V_MOV_B32_e32 0, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          123:  renamable $vgpr2 = V_MOV_B32_e32 0, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          124:  renamable $vgpr3 = V_MOV_B32_e32 0, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          125:  renamable $vgpr4 = V_MOV_B32_e32 0, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |          144:  renamable $sgpr17 = S_ADDK_I32 killed renamable $sgpr17, 128, implicit-def dead $scc 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          145:  S_CMP_LT_U32 renamable $sgpr17, renamable $sgpr15, implicit-def $scc 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          146:  renamable $sgpr17 = S_CSELECT_B32 killed renamable $sgpr17, 0, implicit killed $scc 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          147:  renamable $vgpr7 = V_ADD_U32_e32 64, $vgpr5, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          148:  renamable $sgpr18_sgpr19 = V_CMP_GT_U32_e64 $sgpr15, $vgpr5, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          149:  S_WAITCNT_DEPCTR .VaSdst_0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:15'1      ?                           possible intended match
# |          150:  renamable $vgpr6 = V_ADD_U32_e32 $sgpr8, $vgpr5, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          151:  renamable $vgpr8 = V_ADD_U32_e32 $sgpr9, killed $vgpr5, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          152:  renamable $sgpr16 = nsw S_ADD_I32 killed renamable $sgpr16, -1, implicit-def dead $scc 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          153:  renamable $sgpr20_sgpr21 = V_CMP_GT_U32_e64 $sgpr15, $vgpr7, implicit $exec 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          154:  S_WAITCNT_DEPCTR .VaSdst_0 
# | next:15'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/schedule-barrier-latency-gfx9.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=amdgcn -mcpu=gfx950 -start-before=machine-scheduler -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\schedule-barrier-latency-gfx9.mir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe -check-prefix=GFX9 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\schedule-barrier-latency-gfx9.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=amdgcn -mcpu=gfx950 -start-before=machine-scheduler -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\schedule-barrier-latency-gfx9.mir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' -check-prefix=GFX9 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\schedule-barrier-latency-gfx9.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\schedule-barrier-latency-gfx9.mir:19:15: error: GFX9-NEXT: expected string not found in input
# |  ; GFX9-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
# |               ^
# | <stdin>:19:30: note: scanning from here
# |  ; implicit-def: $vgpr2_vgpr3
# |                              ^
# | <stdin>:56:2: note: possible intended match here
# |  s_waitcnt vmcnt(0)
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\AMDGPU\schedule-barrier-latency-gfx9.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           14:  .p2align 8 
# |           15:  .type test_workgroup, at function 
# |           16: test_workgroup: ; @test_workgroup 
# |           17: ; %bb.0: 
# |           18:  ; implicit-def: $vgpr0_vgpr1 
# |           19:  ; implicit-def: $vgpr2_vgpr3 
# | next:19'0                                  X error: no match found
# |           20:  global_load_ushort v14, v[0:1], off 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           21:  ; implicit-def: $vgpr4_vgpr5 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           22:  global_load_ushort v15, v[4:5], off 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           23:  ; implicit-def: $vgpr2 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~
# |           24:  v_add_u32_e32 v0, 1, v2 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |           51:  v_cvt_f32_f16_e32 v14, v14 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           52:  s_waitcnt vmcnt(2) 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~
# |           53:  v_cvt_f32_f16_e32 v16, v15 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           54:  s_waitcnt vmcnt(1) 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~
# |           55:  v_cvt_f32_f16_e32 v17, v17 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           56:  s_waitcnt vmcnt(0) 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~
# | next:19'1      ?                   possible intended match
# |           57:  v_cvt_f32_f16_e32 v15, v18 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           58:  v_pk_add_f32 v[0:1], v[16:17], v[0:1] neg_lo:[0,1] neg_hi:[0,1] 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           59:  s_nop 0 
# | next:19'0     ~~~~~~~~~
# |           60:  v_pk_mul_f32 v[0:1], v[8:9], v[0:1] 
# | next:19'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           61:  v_pk_fma_f32 v[10:11], v[14:15], s[0:1], v[10:11] op_sel_hi:[1,0,1] 
# | next:19'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/179602


More information about the llvm-commits mailing list