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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.udiv.nxv1i64 M
Occurrences:6 in 5 configs, 1 test files, 5 more counted only
Snippet from:vdivu-vp.fa80add6e3.ll (mutant of vdivu-vp.ll) @vdivu_vv_nxv1i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve64d -O3 -code-model=small
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global double

define <vscale x 1 x i64> @vdivu_vv_nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  %LGV = load double, ptr @G, align 8
  %B = fdiv double +qnan, %LGV
  %v = call <vscale x 1 x i64> @llvm.vp.udiv.nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b, <vscale x 1 x i1> %m, i32 %evl)
  store double %B, ptr poison, align 8
  ret <vscale x 1 x i64> %v
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vdivu-vp.79b3331cbc.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfhmin -O0
vdivu-vp.7b9c7a5804.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O1
vdivu-vp.7b9c7a5804.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i64_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O1
vdivu-vp.e263e65d1e.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i64_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve64d -O0
vdivu-vp.fa80add6e3.ll (mutant of vdivu-vp.ll)vdivu_vv_nxv1i64-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve64d -O3 -code-model=small
vdivu-vp.fe421ae644.ll (mutant of vdivu-vp.ll)vdivu_vx_nxv1i64-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2

Generated 2026-11-29 14:49 UTC.