fallback: select: G_INTRINSIC_W_SIDE_EFFECTS <vscale x N x f16>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:select: G_INTRINSIC_W_SIDE_EFFECTS <vscale x N x f16>
Occurrences:76 in 4 configs, 2 test files
Snippet from:xsfvcp-xv.ll @test_sf_vc_fvx_se_e16mf4 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @test_sf_vc_fvx_se_e16mf4(<vscale x 1 x half> %vs2, i16 %rs1, i32 %vl) {
entry:
  tail call void @llvm.riscv.sf.vc.xv.se.i32.nxv1f16.i16.i32(i32 3, i32 31, <vscale x 1 x half> %vs2, i16 %rs1, i32 %vl)
  ret void
}

; Function Attrs: nounwind
declare void @llvm.riscv.sf.vc.xv.se.i32.nxv1f16.i16.i32(i32 immarg, i32 immarg, <vscale x 1 x half>, i16, i32) #0

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: cannot select: G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.riscv.sf.vc.xv.se), 3, 31, %0:vrb(<vscale x 1 x f16>), %1:gprb(i16), %2:gprb(i32) (in function: test_sf_vc_fvx_se_e16mf4)
warning: Instruction selection used fallback path for test_sf_vc_fvx_se_e16mf4

Occurrences (76) (first 15):

InputFunctionConfig
sifive_sf_mm_f_f.lltest_sf_mm_f_f_w2_f16m8-mtriple=riscv32 -mattr=+v -mattr=+zvfh -mattr=+xsfmm32a32f -mattr=+xsfmm64a64f -verify-machineinstrs
sifive_sf_mm_f_f.lltest_sf_mm_f_f_w2_f16m8-mtriple=riscv64 -mattr=+v -mattr=+zvfh -mattr=+xsfmm32a32f -mattr=+xsfmm64a64f -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvx_se_e16mf4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_v_fvx_se_e16mf4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvx_se_e16mf2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_v_fvx_se_e16mf2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvx_se_e16m1-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_v_fvx_se_e16m1-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvx_se_e16m2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_v_fvx_se_e16m2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvx_se_e16m4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_v_fvx_se_e16m4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvx_se_e16m8-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_v_fvx_se_e16m8-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xv.lltest_sf_vc_fvi_se_e16mf4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.