fallback: translate: call llvm.vp.reduce.fadd.nxv1f64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.fadd.nxv1f64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 5 more counted only |
| Snippet from: | vreductions-fp-vp.4a711d82a3.ll (mutant of vreductions-fp-vp.ll) @vpreduce_ord_fadd_nxv1f64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+zve32x -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define double @vpreduce_ord_fadd_nxv1f64(double %s, <vscale x 1 x double> %v, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%r = call double @llvm.vp.reduce.fadd.nxv1f64(double %s, <vscale x 1 x double> %v, <vscale x 1 x i1> %m, i32 %evl)
%C = fcmp uge double %s, %s
store i1 %C, ptr %A, align 1
ret double %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vp.reduce.fadd.nxv1f64(double, <vscale x 1 x double>, <vscale x 1 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+zve32x -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+zve32x -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.fadd.nxv1f64: ' %r = call double @llvm.vp.reduce.fadd.nxv1f64(double %s, <vscale x 1 x double> %v, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpreduce_ord_fadd_nxv1f64)
warning: Instruction selection used fallback path for vpreduce_ord_fadd_nxv1f64
Occurrences (3):
| Input | Function | Config |
|---|
| vreductions-fp-vp.4a711d82a3.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv1f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zve64d,+zve32x -O0 |
| vreductions-fp-vp.aa5542e9f9.ll (mutant of vreductions-fp-vp.ll) | vpreduce_fadd_nxv1f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicond -O0 -code-model=small |
| vreductions-fp-vp.f2dd705927.ll (mutant of vreductions-fp-vp.ll) | vpreduce_fadd_nxv1f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zbkb,+zicsr -O2 |
Generated 2026-11-29 14:49 UTC.