[llvm] [llvm][RISCV] Split fp16/bf16 reduction operations under zvfhmin/zvfbfmin (PR #194817)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 00:49:28 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 173995 tests passed
* 3314 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.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=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,ZVFH,RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
# 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=CHECK,ZVFH,RV32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.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=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,ZVFH,RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs
# 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=CHECK,ZVFH,RV64 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.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=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --check-prefixes=CHECK,ZVFHMIN,RV32,ZVFHMIN32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs
# 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=CHECK,ZVFHMIN,RV32,ZVFHMIN32 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll:4303:17: error: ZVFHMIN-NEXT: expected string not found in input
# | ; ZVFHMIN-NEXT: slli a1, a1, 3
# | ^
# | <stdin>:3208:16: note: scanning from here
# | csrr a1, vlenb
# | ^
# | <stdin>:3209:2: note: possible intended match here
# | slli a1, a1, 2
# | ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll:5564:17: error: ZVFHMIN-NEXT: expected string not found in input
# | ; ZVFHMIN-NEXT: slli a1, a1, 3
# | ^
# | <stdin>:4252:16: note: scanning from here
# | csrr a1, vlenb
# | ^
# | <stdin>:4253:2: note: possible intended match here
# | slli a1, a1, 2
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/rvv/fixed-vectors-reduction-fp.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 3203: vreduce_fminimum_v128f16_nonans: # @vreduce_fminimum_v128f16_nonans
# | 3204: .cfi_startproc
# | 3205: # %bb.0:
# | 3206: addi sp, sp, -16
# | 3207: .cfi_def_cfa_offset 16
# | 3208: csrr a1, vlenb
# | next:4303'0 X error: no match found
# | 3209: slli a1, a1, 2
# | next:4303'0 ~~~~~~~~~~~~~~~~
# | next:4303'1 ? possible intended match
# | 3210: sub sp, sp, a1
# | next:4303'0 ~~~~~~~~~~~~~~~~
# | 3211: .cfi_escape 0x0f, 0x0d, 0x72, 0x00, 0x11, 0x10, 0x22, 0x11, 0x04, 0x92, 0xa2, 0x38, 0x00, 0x1e, 0x22 # sp + 16 + 4 * vlenb
# | next:4303'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 3212: addi a1, a0, 128
# | next:4303'0 ~~~~~~~~~~~~~~~~~~
# | 3213: li a2, 64
# | next:4303'0 ~~~~~~~~~~~
# | 3214: vsetvli zero, a2, e16, m8, ta, ma
# | next:4303'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | 4247: vreduce_fmaximum_v128f16_nonans: # @vreduce_fmaximum_v128f16_nonans
# | 4248: .cfi_startproc
# | 4249: # %bb.0:
# | 4250: addi sp, sp, -16
# | 4251: .cfi_def_cfa_offset 16
# | 4252: csrr a1, vlenb
# | next:5564'0 X error: no match found
# | 4253: slli a1, a1, 2
# | next:5564'0 ~~~~~~~~~~~~~~~~
# | next:5564'1 ? possible intended match
# | 4254: sub sp, sp, a1
# | next:5564'0 ~~~~~~~~~~~~~~~~
# | 4255: .cfi_escape 0x0f, 0x0d, 0x72, 0x00, 0x11, 0x10, 0x22, 0x11, 0x04, 0x92, 0xa2, 0x38, 0x00, 0x1e, 0x22 # sp + 16 + 4 * vlenb
# | next:5564'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 4256: addi a1, a0, 128
# | next:5564'0 ~~~~~~~~~~~~~~~~~~
# | 4257: li a2, 64
# | next:5564'0 ~~~~~~~~~~~
# | 4258: vsetvli zero, a2, e16, m8, ta, ma
# | next:5564'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/194817
More information about the llvm-commits
mailing list