fallback: translate: call llvm.rint.nxv16f64

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.rint.nxv16f64 M
Occurrences:3 in 3 configs, 1 test files, 7 more counted only
Snippet from:rint-vp.b8acd955ed.ll (mutant of rint-vp.ll) @vp_rint_nxv16f64_unmasked via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+f -O3 -code-model=small
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i32

define <vscale x 16 x double> @vp_rint_nxv16f64_unmasked(<vscale x 16 x double> %va, i32 zeroext %evl) {
  %LGV = load i32, ptr @G.1, align 4
  %C = icmp eq i32 %evl, %LGV
  %v = call <vscale x 16 x double> @llvm.rint.nxv16f64(<vscale x 16 x double> %va)
  store i1 %C, ptr poison, 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.rint.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,+zvfh,+zfbfmin,+zvfbfmin,+v,+f -O3 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+f -O3 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.rint.nxv16f64: '  %v = call <vscale x 16 x double> @llvm.rint.nxv16f64(<vscale x 16 x double> %va)' (in function: vp_rint_nxv16f64_unmasked)
warning: Instruction selection used fallback path for vp_rint_nxv16f64_unmasked

Occurrences (3):

InputFunctionConfig
rint-vp.a0d0c66c85.ll (mutant of rint-vp.ll)vp_rint_nxv16f64_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+zbkb -O3
rint-vp.b8acd955ed.ll (mutant of rint-vp.ll)vp_rint_nxv16f64_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+f -O3 -code-model=small
rint-vp.bf5dbff580.ll (mutant of rint-vp.ll)vp_rint_nxv16f64_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+zvfh,+zfbfmin,+zvfbfmin,+v,+zvkb -O0 -code-model=small

Generated 2026-11-29 14:49 UTC.