fallback: translate: call llvm.vp.udiv.nxv8i32

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

Snippet:

@G = external global <4 x float>
@G.1 = external global <4 x i1>

define <vscale x 8 x i32> @vdivu_vv_nxv8i32_unmasked(<vscale x 8 x i32> %va, <vscale x 8 x i32> %b, i32 zeroext %evl) {
  %LGV = load <4 x float>, ptr @G, align 16
  %C = fcmp oeq <4 x float> %LGV, splat (float +inf)
  %v = call <vscale x 8 x i32> @llvm.vp.udiv.nxv8i32(<vscale x 8 x i32> %va, <vscale x 8 x i32> %b, <vscale x 8 x i1> splat (i1 true), i32 %evl)
  store <4 x i1> %C, ptr @G.1, align 1
  ret <vscale x 8 x i32> %v
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.udiv.nxv8i32: '  %v = call <vscale x 8 x i32> @llvm.vp.udiv.nxv8i32(<vscale x 8 x i32> %va, <vscale x 8 x i32> %b, <vscale x 8 x i1> splat (i1 true), i32 %evl)' (in function: vdivu_vv_nxv8i32_unmasked)
warning: Instruction selection used fallback path for vdivu_vv_nxv8i32_unmasked

Occurrences (7):

InputFunctionConfig
vdivu-vp.5a09703f41.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv8i32-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2
vdivu-vp.6ce4eca755.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv8i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3
vdivu-vp.75a6744967.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv8i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -code-model=medium
vdivu-vp.946e63ae45.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv8i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vdivu-vp.960f926cb8.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv8i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vdivu-vp.ba68ab0fc8.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv8i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vdivu-vp.ea38342141.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv8i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d -O1

Generated 2026-11-29 14:49 UTC.