fallback: translate: call llvm.vp.reduce.fadd.nxv4f64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.fadd.nxv4f64 M |
| Occurrences: | 6 in 6 configs, 1 test files, 7 more counted only |
| Snippet from: | vreductions-fp-vp.0e3a1abba4.ll (mutant of vreductions-fp-vp.ll) @vpreduce_fadd_nxv4f64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O2 -code-model=small |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define double @vpreduce_fadd_nxv4f64(double %s, <vscale x 4 x double> %v, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%r = call reassoc double @llvm.vp.reduce.fadd.nxv4f64(double %s, <vscale x 4 x double> %v, <vscale x 4 x i1> %m, i32 %evl)
%B = fdiv double %r, 1.000000e+00
store double %B, ptr poison, align 8
ret double %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vp.reduce.fadd.nxv4f64(double, <vscale x 4 x double>, <vscale x 4 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,+m -O2 -code-model=small -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,+m -O2 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.fadd.nxv4f64: ' %r = call reassoc double @llvm.vp.reduce.fadd.nxv4f64(double %s, <vscale x 4 x double> %v, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpreduce_fadd_nxv4f64)
warning: Instruction selection used fallback path for vpreduce_fadd_nxv4f64
Occurrences (6):
| Input | Function | Config |
|---|
| vreductions-fp-vp.0e3a1abba4.ll (mutant of vreductions-fp-vp.ll) | vpreduce_fadd_nxv4f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m -O2 -code-model=small |
| vreductions-fp-vp.1d4870a009.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv4f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v,+zfh,+zbb -O2 |
| vreductions-fp-vp.51de18b71e.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv4f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 |
| vreductions-fp-vp.80d91d1c80.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv4f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+v -O3 |
| vreductions-fp-vp.9eb447587b.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv4f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v -O2 |
| vreductions-fp-vp.b3114cc1d8.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv4f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+v,+m,+zvbb -O1 |
Generated 2026-11-29 14:49 UTC.