fallback: translate: call llvm.nearbyint.nxv16f64

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

Snippet:

@G.2 = external global i32

define <vscale x 16 x double> @vp_nearbyint_nxv16f64_unmasked(<vscale x 16 x double> %va, i32 zeroext %evl) {
  %LGV1 = load i32, ptr @G.2, align 4
  %v = call <vscale x 16 x double> @llvm.nearbyint.nxv16f64(<vscale x 16 x double> %va)
  %B = lshr i32 %evl, %LGV1
  store i32 %B, ptr @G.2, align 4
  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=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v -O1 -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_unmasked)
warning: Instruction selection used fallback path for vp_nearbyint_nxv16f64_unmasked

Occurrences (3):

InputFunctionConfig
nearbyint-vp.6dd94c07fc.ll (mutant of nearbyint-vp.ll)vp_nearbyint_nxv16f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+zve32x,+zfa -O1
nearbyint-vp.8e816adc6e.ll (mutant of nearbyint-vp.ll)vp_nearbyint_nxv16f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O3
nearbyint-vp.d4f8c76288.ll (mutant of nearbyint-vp.ll)vp_nearbyint_nxv16f64_unmasked-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v -O1

Generated 2026-11-29 14:49 UTC.