fallback: translate: call llvm.sqrt.nxv16f64

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

Snippet:

@G.2 = external global i16

define <vscale x 16 x double> @vfsqrt_vv_nxv16f64(<vscale x 16 x double> %va, <vscale x 16 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 16 x double> @llvm.sqrt.nxv16f64(<vscale x 16 x double> %va)
  %B = xor i16 42, 1
  store i16 %B, ptr @G.2, align 2
  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.sqrt.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,+zbs -O0 -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,+zbs -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (3):

InputFunctionConfig
vfsqrt-vp.0c2ab592d6.ll (mutant of vfsqrt-vp.ll)vfsqrt_vv_nxv16f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v -O3
vfsqrt-vp.4b9ff4a8ce.ll (mutant of vfsqrt-vp.ll)vfsqrt_vv_nxv16f64-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfh,+zfbfmin,+zvfbfmin,+v,+zbs -O0
vfsqrt-vp.bc8d83a9d2.ll (mutant of vfsqrt-vp.ll)vfsqrt_vv_nxv16f64_unmasked-mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+d,+zvfhmin,+zfbfmin,+zvfbfmin,+v -O1

Generated 2026-11-29 14:49 UTC.