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