fallback: translate: frem <vscale x N x double>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: frem <vscale x N x double> M
Occurrences:3 in 3 configs, 3 test files, 3 more counted only
Snippet from:fround-sdnode.02dc574de3.ll (mutant of fround-sdnode.ll) @round_nxv4f64 via llvm-extract
Config:-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zvfbfmin,+v,+zba -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x double> @round_nxv4f64(<vscale x 4 x double> %x) {
  %B = frem <vscale x 4 x double> %x, splat (double 1.000000e+00)
  %a = call <vscale x 4 x double> @llvm.round.nxv4f64(<vscale x 4 x double> %B)
  ret <vscale x 4 x double> %a
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x double> @llvm.round.nxv4f64(<vscale x 4 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,+zvfbfmin,+v,+zba -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,+zvfbfmin,+v,+zba -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: frem: '  %B = frem <vscale x 4 x double> %x, splat (double 1.000000e+00)' (in function: round_nxv4f64)
warning: Instruction selection used fallback path for round_nxv4f64

Occurrences (3):

InputFunctionConfig
fround-sdnode.02dc574de3.ll (mutant of fround-sdnode.ll)round_nxv4f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+zvfbfmin,+v,+zba -O1
vfsub-constrained-sdnode.ead50f3966.ll (mutant of vfsub-constrained-sdnode.ll)vfsub_vf_nxv2f64-mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+d,+zfhmin,+zvfhmin,+experimental-zvfbfa,+v,+a -O3
vsse.fcbc8f914b.ll (mutant of vsse.ll)intrinsic_vsse_mask_v_nxv4f64_nxv4f64-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64d -mattr=+v,+zvfbfmin,+zfhmin -O1

Generated 2026-11-29 14:49 UTC.