fallback: translate: select <vscale x 4 x i1>

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:translate: select <vscale x 4 x i1>
Occurrences:7 in 1 configs, 1 test files
Snippet from:known-fpclass.ll @vselect_both_neverinf via llvm-extract
Config:-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x i1> @vselect_both_neverinf(<vscale x 4 x i1> %cond, <vscale x 4 x float> nofpclass(inf) %a, <vscale x 4 x float> nofpclass(inf) %b) {
  %sel = select <vscale x 4 x i1> %cond, <vscale x 4 x float> %a, <vscale x 4 x float> %b
  %class = call <vscale x 4 x i1> @llvm.is.fpclass.nxv4f32(<vscale x 4 x float> %sel, /* (inf) */ i32 516)
  ret <vscale x 4 x i1> %class
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 4 x i1> @llvm.is.fpclass.nxv4f32(<vscale x 4 x float>, i32 immarg) #0

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

Reproduce:

llc -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: select: '  %sel = select <vscale x 4 x i1> %cond, <vscale x 4 x float> %a, <vscale x 4 x float> %b' (in function: vselect_both_neverinf)
warning: Instruction selection used fallback path for vselect_both_neverinf

Occurrences (7):

InputFunctionConfig
known-fpclass.llvselect_both_neverinf-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
known-fpclass.llvselect_both_nevernan_query_naninf-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
known-fpclass.llvselect_rhs_unknown-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
known-fpclass.llvselect_lhs_unknown-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
known-fpclass.llvselect_asymmetric_nevernan_neverinf_query_nan-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
known-fpclass.1678209993.ll (mutant of known-fpclass.ll)vselect_both_nevernan_query_naninf-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d
known-fpclass.dc070d2e87.ll (mutant of known-fpclass.ll)vselect_both_neverinf-mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d

Generated 2026-10-15 08:05 UTC.