fallback: translate: call llvm.vp.udiv.nxv64i8
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.udiv.nxv64i8 M |
| Occurrences: | 6 in 4 configs, 1 test files, 2 more counted only |
| Snippet from: | vdivu-vp.55fe4c8ed9.ll (mutant of vdivu-vp.ll) @vdivu_vx_nxv64i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 64 x i8> @vdivu_vx_nxv64i8(<vscale x 64 x i8> %va, i8 %b, <vscale x 64 x i1> %m, i32 zeroext %evl) {
%elt.head = insertelement <vscale x 64 x i8> poison, i8 %b, i32 0
%C = icmp ult i8 127, %b
%vb = shufflevector <vscale x 64 x i8> %elt.head, <vscale x 64 x i8> poison, <vscale x 64 x i32> zeroinitializer
%v = call <vscale x 64 x i8> @llvm.vp.udiv.nxv64i8(<vscale x 64 x i8> %va, <vscale x 64 x i8> %vb, <vscale x 64 x i1> %m, i32 %evl)
store i1 %C, ptr poison, align 1
ret <vscale x 64 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 64 x i8> @llvm.vp.udiv.nxv64i8(<vscale x 64 x i8>, <vscale x 64 x i8>, <vscale x 64 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -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.nxv64i8: ' %v = call <vscale x 64 x i8> @llvm.vp.udiv.nxv64i8(<vscale x 64 x i8> %va, <vscale x 64 x i8> %vb, <vscale x 64 x i1> %m, i32 %evl)' (in function: vdivu_vx_nxv64i8)
warning: Instruction selection used fallback path for vdivu_vx_nxv64i8
Occurrences (6):
| Input | Function | Config |
|---|
| vdivu-vp.34f0914cda.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv64i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vdivu-vp.55fe4c8ed9.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv64i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vdivu-vp.5b908befb2.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv64i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zve32x -O2 |
| vdivu-vp.5b908befb2.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv64i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zve32x -O2 |
| vdivu-vp.9b85553501.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv64i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d,+zfa -O0 |
| vdivu-vp.e27facf405.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv64i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba,+zbb -O3 -code-model=medium |
Generated 2026-11-29 14:49 UTC.