fallback: translate: call llvm.vp.udiv.nxv4i32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.udiv.nxv4i32 M |
| Occurrences: | 6 in 5 configs, 1 test files, 3 more counted only |
| Snippet from: | vdivu-vp.22c6554dc7.ll (mutant of vdivu-vp.ll) @vdivu_vv_nxv4i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global half
define <vscale x 4 x i32> @vdivu_vv_nxv4i32(<vscale x 4 x i32> %va, <vscale x 4 x i32> %b, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 4 x i32> @llvm.vp.udiv.nxv4i32(<vscale x 4 x i32> %va, <vscale x 4 x i32> %b, <vscale x 4 x i1> %m, i32 %evl)
%B = fsub half +qnan, 4.200000e+01
store half %B, ptr @G, align 2
ret <vscale x 4 x i32> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 4 x i32> @llvm.vp.udiv.nxv4i32(<vscale x 4 x i32>, <vscale x 4 x i32>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -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.nxv4i32: ' %v = call <vscale x 4 x i32> @llvm.vp.udiv.nxv4i32(<vscale x 4 x i32> %va, <vscale x 4 x i32> %b, <vscale x 4 x i1> %m, i32 %evl)' (in function: vdivu_vv_nxv4i32)
warning: Instruction selection used fallback path for vdivu_vv_nxv4i32
Occurrences (6):
| Input | Function | Config |
|---|
| vdivu-vp.20315d80aa.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfhmin -O1 |
| vdivu-vp.22c6554dc7.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vdivu-vp.5e4bd26eac.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicsr -O3 |
| vdivu-vp.b0e14201bd.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vdivu-vp.b3efd2359c.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vdivu-vp.e27facf405.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv4i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba,+zbb -O3 -code-model=medium |
Generated 2026-11-29 14:49 UTC.