[llvm] expandFMINIMUMNUM_FMAXIMUMNUM: Improve compare between zeros (PR #140193)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 19:40:12 PST 2025


github-actions[bot] wrote:

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

* 166642 tests passed
* 2901 tests skipped
* 3 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/AMDGPU/fmin3-minimumnum.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=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx600 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX6,GFX6-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx600
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX6,GFX6-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx700 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX7,GFX7-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx700
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX7,GFX7-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx803 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX8,GFX8-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx803
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX8,GFX8-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950,GFX9-SDAG,GFX900-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950,GFX9-SDAG,GFX900-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# note: command had no output on stdout or stderr
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx950 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950,GFX9-SDAG,GFX950-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx950
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950,GFX9-SDAG,GFX950-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX10,GFX10-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1010
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX10,GFX10-SDAG /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# note: command had no output on stdout or stderr
# RUN: at line 8
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -mattr=+real-true16 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX11,GFX11-SDAG,GFX11-SDAG-TRUE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -global-isel=0 -mtriple=amdgcn-amd-amdpal -mcpu=gfx1100 -mattr=+real-true16
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX11,GFX11-SDAG,GFX11-SDAG-TRUE16 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll:1862:27: error: GFX11-SDAG-TRUE16-NEXT: expected string not found in input
# | ; GFX11-SDAG-TRUE16-NEXT: s_delay_alu instid0(VALU_DEP_3) | instskip(NEXT) | instid1(VALU_DEP_2)
# |                           ^
# | <stdin>:736:40: note: scanning from here
# |  v_cndmask_b16 v1.h, v0.l, v0.h, vcc_lo
# |                                        ^
# | <stdin>:737:2: note: possible intended match here
# |  s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3)
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll:2415:27: error: GFX11-SDAG-TRUE16-NEXT: expected string not found in input
# | ; GFX11-SDAG-TRUE16-NEXT: v_mov_b16_e32 v5.l, 0
# |                           ^
# | <stdin>:793:34: note: scanning from here
# |  v_and_b32_e32 v4, 0xffff0000, v1
# |                                  ^
# | <stdin>:798:2: note: possible intended match here
# |  v_mov_b16_e32 v3.l, 0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/fmin3-minimumnum.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |            731:  v_mov_b16_e32 v0.h, v1.l 
# |            732:  s_delay_alu instid0(VALU_DEP_2) | instskip(SKIP_2) | instid1(VALU_DEP_4) 
# |            733:  v_cmp_u_f32_e32 vcc_lo, v3, v3 
# |            734:  v_mov_b16_e32 v3.h, v1.l 
# |            735:  v_mov_b16_e32 v1.l, v3.l 
# |            736:  v_cndmask_b16 v1.h, v0.l, v0.h, vcc_lo 
# | next:1862'0                                            X error: no match found
# |            737:  s_delay_alu instid0(VALU_DEP_3) | instskip(SKIP_1) | instid1(VALU_DEP_3) 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1862'1      ?                                                                         possible intended match
# |            738:  v_cmp_u_f32_e32 vcc_lo, v3, v3 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            739:  v_mov_b16_e32 v0.l, v2.l 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            740:  v_cndmask_b16 v3.h, v0.h, v1.h, vcc_lo 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            741:  s_delay_alu instid0(VALU_DEP_1) | instskip(SKIP_2) | instid1(VALU_DEP_2) 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            742:  v_cmp_lt_f32_e32 vcc_lo, v1, v3 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# |            788:  .type v_min3_v2bf16_minimumnum_minimumnum__v_v_v_0, at function 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            789: v_min3_v2bf16_minimumnum_minimumnum__v_v_v_0: ; @v_min3_v2bf16_minimumnum_minimumnum__v_v_v_0 
# | next:1862'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            790: ; %bb.0: 
# |            791:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |            792:  v_and_b32_e32 v3, 0xffff0000, v0 
# |            793:  v_and_b32_e32 v4, 0xffff0000, v1 
# | next:2415'0                                      X error: no match found
# |            794:  v_lshlrev_b32_e32 v5, 16, v0 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            795:  v_lshlrev_b32_e32 v6, 16, v1 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            796:  s_delay_alu instid0(VALU_DEP_4) | instskip(SKIP_2) | instid1(VALU_DEP_4) 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            797:  v_cmp_u_f32_e32 vcc_lo, v3, v3 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            798:  v_mov_b16_e32 v3.l, 0 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~
# | next:2415'1      ?                      possible intended match
# |            799:  v_cmp_u_f32_e64 s0, v4, v4 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            800:  v_cmp_u_f32_e64 s2, v6, v6 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            801:  v_cndmask_b16 v3.h, v0.h, v1.h, vcc_lo 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            802:  s_delay_alu instid0(VALU_DEP_4) | instskip(NEXT) | instid1(VALU_DEP_2) 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            803:  v_mov_b16_e32 v4.l, v3.l 
# | next:2415'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/maximumnum.bf16.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700
# 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=GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx803 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX8 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx803
# 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=GFX8 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll:9510:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: v_lshrrev_b32_e32 v34, 16, v30
# |                ^
# | <stdin>:1198:36: note: scanning from here
# |  v_and_b32_e32 v31, 0xffff0000, v14
# |                                    ^
# | <stdin>:1199:2: note: possible intended match here
# |  v_lshrrev_b32_e32 v32, 16, v30
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/maximumnum.bf16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1193:  .type v_maximumnum_v32bf16, at function 
# |           1194: v_maximumnum_v32bf16: ; @v_maximumnum_v32bf16 
# |           1195: ; %bb.0: 
# |           1196:  s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) 
# |           1197:  scratch_load_dword v50, off, s32 
# |           1198:  v_and_b32_e32 v31, 0xffff0000, v14 
# | next:9510'0                                        X error: no match found
# |           1199:  v_lshrrev_b32_e32 v32, 16, v30 
# | next:9510'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:9510'1      ?                               possible intended match
# |           1200:  v_lshrrev_b32_e32 v35, 16, v14 
# | next:9510'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1201:  v_and_b32_e32 v37, 0xffff0000, v13 
# | next:9510'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1202:  v_cmp_u_f32_e32 vcc, v31, v31 
# | next:9510'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1203:  v_lshrrev_b32_e32 v38, 16, v29 
# | next:9510'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1204:  v_lshrrev_b32_e32 v39, 16, v13 
# | next:9510'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |              .
# |              .
# |              .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>LLVM.CodeGen/AMDGPU/minimumnum.bf16.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx700
# 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=GFX7 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx803 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefix=GFX8 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx803
# 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=GFX8 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX900 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950 < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx950
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck -check-prefixes=GFX9,GFX950 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll:10149:16: error: GFX950-NEXT: expected string not found in input
# | ; GFX950-NEXT: v_perm_b32 v13, v33, v13, s0
# |                ^
# | <stdin>:1812:30: note: scanning from here
# |  v_perm_b32 v12, v34, v12, s0
# |                              ^
# | <stdin>:1813:2: note: possible intended match here
# |  v_perm_b32 v13, v32, v13, s0
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AMDGPU/minimumnum.bf16.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |               .
# |               .
# |               .
# |            1807:  v_perm_b32 v7, v39, v7, s0 
# |            1808:  v_perm_b32 v8, v38, v8, s0 
# |            1809:  v_perm_b32 v9, v37, v9, s0 
# |            1810:  v_perm_b32 v10, v36, v10, s0 
# |            1811:  v_perm_b32 v11, v35, v11, s0 
# |            1812:  v_perm_b32 v12, v34, v12, s0 
# | next:10149'0                                  X error: no match found
# |            1813:  v_perm_b32 v13, v32, v13, s0 
# | next:10149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:10149'1      ?                             possible intended match
# |            1814:  v_perm_b32 v14, v31, v14, s0 
# | next:10149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1815:  v_perm_b32 v15, v33, v15, s0 
# | next:10149'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            1816:  s_setpc_b64 s[30:31] 
# | next:10149'0     ~~~~~~~~~~~~~~~~~~~~~~
# |            1817: .Lfunc_end11: 
# | next:10149'0     ~~~~~~~~~~~~~~
# |            1818:  .size v_minimumnum_v32bf16, .Lfunc_end11-v_minimumnum_v32bf16 
# | next:10149'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/140193


More information about the llvm-commits mailing list