fallback: translate: select <vscale x 4 x i1>
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | translate: select <vscale x 4 x i1> |
| Occurrences: | 5 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 04ca53e65f |
| 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 (5):
| Input | Function | Config |
|---|
| known-fpclass.ll | vselect_both_neverinf | -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d |
| known-fpclass.ll | vselect_both_nevernan_query_naninf | -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d |
| known-fpclass.ll | vselect_rhs_unknown | -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d |
| known-fpclass.ll | vselect_lhs_unknown | -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d |
| known-fpclass.ll | vselect_asymmetric_nevernan_neverinf_query_nan | -mtriple=riscv64 -mattr=+v,+f,+d -target-abi=lp64d |
Generated 2026-10-15 08:05 UTC.