fallback: translate: call llvm.round.nxv16f64

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.round.nxv16f64 M
Occurrences:3 in 2 configs, 1 test files, 4 more counted only
Snippet from:round-vp.396e441d7c.ll (mutant of round-vp.ll) @vp_round_nxv16f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v,+a -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i128
@G.1 = external global i1

define <vscale x 16 x double> @vp_round_nxv16f64(<vscale x 16 x double> %va, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %LGV = load i128, ptr @G, align 4
  %v = call <vscale x 16 x double> @llvm.round.nxv16f64(<vscale x 16 x double> %va)
  %C = icmp uge i128 %LGV, -1
  store i1 %C, ptr @G.1, 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.round.nxv16f64(<vscale x 16 x double>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v,+a -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v,+a -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
round-vp.0bdf811ba6.ll (mutant of round-vp.ll)vp_round_nxv16f64_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O2
round-vp.396e441d7c.ll (mutant of round-vp.ll)vp_round_nxv16f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v,+a -O1
round-vp.396e441d7c.ll (mutant of round-vp.ll)vp_round_nxv16f64_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v,+a -O1

Generated 2026-11-29 14:49 UTC.