fallback: translate: call llvm.vp.reduce.fadd.nxv64f16
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.fadd.nxv64f16 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | vreductions-fp-vp.4c3fd5d14e.ll (mutant of vreductions-fp-vp.ll) @vpreduce_ord_fadd_nxv64f16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global half
@G.3 = external global i1
define half @vpreduce_ord_fadd_nxv64f16(half %s, <vscale x 64 x half> %v, <vscale x 64 x i1> %m, i32 zeroext %evl) {
%LGV = load half, ptr @G.2, align 2
%C = fcmp ogt half %s, %LGV
%r = call half @llvm.vp.reduce.fadd.nxv64f16(half %s, <vscale x 64 x half> %v, <vscale x 64 x i1> %m, i32 %evl)
store i1 %C, ptr @G.3, align 1
ret half %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare half @llvm.vp.reduce.fadd.nxv64f16(half, <vscale x 64 x half>, <vscale x 64 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.fadd.nxv64f16: ' %r = call half @llvm.vp.reduce.fadd.nxv64f16(half %s, <vscale x 64 x half> %v, <vscale x 64 x i1> %m, i32 %evl)' (in function: vpreduce_ord_fadd_nxv64f16)
warning: Instruction selection used fallback path for vpreduce_ord_fadd_nxv64f16
Occurrences (2):
| Input | Function | Config |
|---|
| vreductions-fp-vp.4c3fd5d14e.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv64f16 | -mtriple=riscv64 -mattr=+d,+zvfh,+v -target-abi=lp64d -verify-machineinstrs |
| vreductions-fp-vp.850a9d5a13.ll (mutant of vreductions-fp-vp.ll) | vpreduce_ord_fadd_nxv64f16 | -mtriple=riscv32 -mattr=+d,+zvfh,+v -target-abi=ilp32d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.