fallback: translate: call llvm.vp.sdiv.nxv2i32

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.sdiv.nxv2i32 M
Occurrences:7 in 6 configs, 1 test files, 1 more counted only
Snippet from:vdiv-vp.d4286b0ea5.ll (mutant of vdiv-vp.ll) @vdiv_vv_nxv2i32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x i32> @vdiv_vv_nxv2i32(<vscale x 2 x i32> %va, <vscale x 2 x i32> %b, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %v = call <vscale x 2 x i32> @llvm.vp.sdiv.nxv2i32(<vscale x 2 x i32> %va, <vscale x 2 x i32> %b, <vscale x 2 x i1> %m, i32 %evl)
  store <vscale x 2 x i32> %v, ptr poison, align 8
  ret <vscale x 2 x i32> %v
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 2 x i32> @llvm.vp.sdiv.nxv2i32(<vscale x 2 x i32>, <vscale x 2 x i32>, <vscale x 2 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.sdiv.nxv2i32: '  %v = call <vscale x 2 x i32> @llvm.vp.sdiv.nxv2i32(<vscale x 2 x i32> %va, <vscale x 2 x i32> %b, <vscale x 2 x i1> %m, i32 %evl)' (in function: vdiv_vv_nxv2i32)
warning: Instruction selection used fallback path for vdiv_vv_nxv2i32

Occurrences (7):

InputFunctionConfig
vdiv-vp.41ad49cfa5.ll (mutant of vdiv-vp.ll)vdiv_vx_nxv2i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vdiv-vp.618486b8b5.ll (mutant of vdiv-vp.ll)vdiv_vv_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbb -O0
vdiv-vp.64670e0915.ll (mutant of vdiv-vp.ll)vdiv_vv_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicond -O1
vdiv-vp.6d2a3820ca.ll (mutant of vdiv-vp.ll)vdiv_vv_nxv2i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 -code-model=small
vdiv-vp.8698b47fba.ll (mutant of vdiv-vp.ll)vdiv_vv_nxv2i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vdiv-vp.ba97d5bd3b.ll (mutant of vdiv-vp.ll)vdiv_vv_nxv2i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vdiv-vp.d4286b0ea5.ll (mutant of vdiv-vp.ll)vdiv_vv_nxv2i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O3

Generated 2026-11-29 14:49 UTC.