fallback: translate: call llvm.vp.udiv.nxv4i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.udiv.nxv4i64 M |
| Occurrences: | 6 in 3 configs, 1 test files, 2 more counted only |
| Snippet from: | vdivu-vp.75a7d71749.ll (mutant of vdivu-vp.ll) @vdivu_vv_nxv4i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 4 x i64> @vdivu_vv_nxv4i64(<vscale x 4 x i64> %va, <vscale x 4 x i64> %b, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%A = alloca i128, align 8
store i128 poison, ptr %A, align 4
%B = udiv i128 170141183460469231731687303715884105727, 1
%v = call <vscale x 4 x i64> @llvm.vp.udiv.nxv4i64(<vscale x 4 x i64> %va, <vscale x 4 x i64> %b, <vscale x 4 x i1> %m, i32 %evl)
store i128 %B, ptr %A, align 4
ret <vscale x 4 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 4 x i64> @llvm.vp.udiv.nxv4i64(<vscale x 4 x i64>, <vscale x 4 x i64>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.udiv.nxv4i64: ' %v = call <vscale x 4 x i64> @llvm.vp.udiv.nxv4i64(<vscale x 4 x i64> %va, <vscale x 4 x i64> %b, <vscale x 4 x i1> %m, i32 %evl)' (in function: vdivu_vv_nxv4i64)
warning: Instruction selection used fallback path for vdivu_vv_nxv4i64
Occurrences (6):
| Input | Function | Config |
|---|
| vdivu-vp.11851d9b54.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbkb -O2 |
| vdivu-vp.3a4cbd7792.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv4i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve64d -O1 |
| vdivu-vp.3a4cbd7792.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zve64d -O1 |
| vdivu-vp.75a7d71749.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vdivu-vp.b0e14201bd.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vdivu-vp.f464efa95c.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
Generated 2026-11-29 14:49 UTC.