fallback: translate: call llvm.vector.reduce.fmin.nxv32f32
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.vector.reduce.fmin.nxv32f32 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | vreductions-fp-sdnode.25f721843e.ll (mutant of vreductions-fp-sdnode.ll) @vreduce_fmin_nxv32f32 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global float
@G.1 = external global i1
define float @vreduce_fmin_nxv32f32(<vscale x 32 x float> %v) {
%LGV = load float, ptr @G, align 4
%red = call float @llvm.vector.reduce.fmin.nxv32f32(<vscale x 32 x float> %v)
%C = fcmp false float %LGV, %red
store i1 %C, ptr @G.1, align 1
ret float %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.vector.reduce.fmin.nxv32f32(<vscale x 32 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reduce.fmin.nxv32f32: ' %red = call float @llvm.vector.reduce.fmin.nxv32f32(<vscale x 32 x float> %v)' (in function: vreduce_fmin_nxv32f32)
warning: Instruction selection used fallback path for vreduce_fmin_nxv32f32
Occurrences (2):
| Input | Function | Config |
|---|
| vreductions-fp-sdnode.25f721843e.ll (mutant of vreductions-fp-sdnode.ll) | vreduce_fmin_nxv32f32 | -mtriple=riscv64 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=lp64d -verify-machineinstrs |
| vreductions-fp-sdnode.fcd1ccfbfc.ll (mutant of vreductions-fp-sdnode.ll) | vreduce_fmin_nxv32f32 | -mtriple=riscv32 -mattr=+d,+zfh,+zvfh,+v,+m -target-abi=ilp32d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.