fallback: translate: call llvm.roundeven.nxv16f64

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.roundeven.nxv16f64 M
Occurrences:3 in 2 configs, 1 test files, 4 more counted only
Snippet from:roundeven-vp.facdf2374f.ll (mutant of roundeven-vp.ll) @vp_roundeven_nxv16f64 via llvm-extract
Config:-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.4 = external global i1
@G.5 = external global i1
@G.6 = external global i1

define <vscale x 16 x double> @vp_roundeven_nxv16f64(<vscale x 16 x double> %va, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %LGV1 = load i1, ptr @G.6, align 1
  %LGV = load i1, ptr @G.5, align 1
  %v = call <vscale x 16 x double> @llvm.roundeven.nxv16f64(<vscale x 16 x double> %va)
  %B = sub i1 %LGV, %LGV1
  store i1 %B, ptr @G.4, 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.roundeven.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 -O3 -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 -O3 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
roundeven-vp.d2ba2628f0.ll (mutant of roundeven-vp.ll)vp_roundeven_nxv16f64_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O3
roundeven-vp.facdf2374f.ll (mutant of roundeven-vp.ll)vp_roundeven_nxv16f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O3
roundeven-vp.facdf2374f.ll (mutant of roundeven-vp.ll)vp_roundeven_nxv16f64_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O3

Generated 2026-11-29 14:49 UTC.