fallback: translate: call llvm.vp.udiv.nxv1i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.udiv.nxv1i8 M |
| Occurrences: | 3 in 3 configs, 1 test files, 8 more counted only |
| Snippet from: | vdivu-vp.bf1a1182ca.ll (mutant of vdivu-vp.ll) @vdivu_vv_nxv1i8 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global i32
define <vscale x 1 x i8> @vdivu_vv_nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%B = ashr i32 %evl, %evl
%v = call <vscale x 1 x i8> @llvm.vp.udiv.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b, <vscale x 1 x i1> %m, i32 %evl)
store i32 %B, ptr @G.3, align 4
ret <vscale x 1 x i8> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 1 x i8> @llvm.vp.udiv.nxv1i8(<vscale x 1 x i8>, <vscale x 1 x i8>, <vscale x 1 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.udiv.nxv1i8: ' %v = call <vscale x 1 x i8> @llvm.vp.udiv.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b, <vscale x 1 x i1> %m, i32 %evl)' (in function: vdivu_vv_nxv1i8)
warning: Instruction selection used fallback path for vdivu_vv_nxv1i8
Occurrences (3):
| Input | Function | Config |
|---|
| vdivu-vp.bf1a1182ca.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv1i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vdivu-vp.d83d832358.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv1i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa,+zbb -O0 |
| vdivu-vp.f8f8a7214d.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv1i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
Generated 2026-11-29 14:49 UTC.