fallback: select: G_INTRINSIC_W_SIDE_EFFECTS <vscale x N x i64>,<vscale x N x i32>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:select: G_INTRINSIC_W_SIDE_EFFECTS <vscale x N x i64>,<vscale x N x i32>
Occurrences:48 in 2 configs, 1 test files
Snippet from:xsfvcp-xvw.ll @test_sf_vc_vvw_se_e32mf2 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @test_sf_vc_vvw_se_e32mf2(<vscale x 1 x i64> %vd, <vscale x 1 x i32> %vs2, <vscale x 1 x i32> %vs1, i32 %vl) {
entry:
  tail call void @llvm.riscv.sf.vc.vvw.se.i32.nxv1i64.nxv1i32.nxv1i32.i32(i32 3, <vscale x 1 x i64> %vd, <vscale x 1 x i32> %vs2, <vscale x 1 x i32> %vs1, i32 %vl)
  ret void
}

; Function Attrs: nounwind
declare void @llvm.riscv.sf.vc.vvw.se.i32.nxv1i64.nxv1i32.nxv1i32.i32(i32 immarg, <vscale x 1 x i64>, <vscale x 1 x i32>, <vscale x 1 x i32>, 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.vvw.se), 3, %0:vrb(<vscale x 1 x i64>), %1:vrb(<vscale x 1 x i32>), %2:vrb(<vscale x 1 x i32>), %3:gprb(i32) (in function: test_sf_vc_vvw_se_e32mf2)
warning: Instruction selection used fallback path for test_sf_vc_vvw_se_e32mf2

Occurrences (48) (first 15):

InputFunctionConfig
xsfvcp-xvw.lltest_sf_vc_vvw_se_e32mf2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_vvw_se_e32m1-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_vvw_se_e32m2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_vvw_se_e32m4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_vvw_se_e32mf2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_vvw_se_e32m1-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_vvw_se_e32m2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_vvw_se_e32m4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_xvw_se_e32mf2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_xvw_se_e32m1-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_xvw_se_e32m2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_xvw_se_e32m4-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_xvw_se_e32mf2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_xvw_se_e32m1-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs
xsfvcp-xvw.lltest_sf_vc_v_xvw_se_e32m2-mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.