fallback: translate: call llvm.nearbyint.nxv16f64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.nearbyint.nxv16f64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 11 more counted only |
| Snippet from: | nearbyint-vp.14f4bad426.ll (mutant of nearbyint-vp.ll) @vp_nearbyint_nxv16f64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O0 -code-model=medium |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i8
define <vscale x 16 x double> @vp_nearbyint_nxv16f64(<vscale x 16 x double> %va, <vscale x 16 x i1> %m, i32 zeroext %evl) {
%LGV = load i8, ptr @G, align 1
%v = call <vscale x 16 x double> @llvm.nearbyint.nxv16f64(<vscale x 16 x double> %va)
%B = sdiv i8 -128, %LGV
store i8 %B, ptr @G, align 1
ret <vscale x 16 x double> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x double> @llvm.nearbyint.nxv16f64(<vscale x 16 x double>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O0 -code-model=medium -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O0 -code-model=medium -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.nearbyint.nxv16f64: ' %v = call <vscale x 16 x double> @llvm.nearbyint.nxv16f64(<vscale x 16 x double> %va)' (in function: vp_nearbyint_nxv16f64)
warning: Instruction selection used fallback path for vp_nearbyint_nxv16f64
Occurrences (3):
| Input | Function | Config |
|---|
| nearbyint-vp.11cf5bd321.ll (mutant of nearbyint-vp.ll) | vp_nearbyint_nxv16f64_unmasked | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O3 |
| nearbyint-vp.14f4bad426.ll (mutant of nearbyint-vp.ll) | vp_nearbyint_nxv16f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O0 -code-model=medium |
| nearbyint-vp.92d0c3349c.ll (mutant of nearbyint-vp.ll) | vp_nearbyint_nxv16f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+zfa -O0 |
Generated 2026-11-29 14:49 UTC.