fallback: translate: call llvm.vp.udiv.nxv2i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.udiv.nxv2i64 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_nxv2i64_unmasked 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:
define <vscale x 2 x i64> @vdivu_vv_nxv2i64_unmasked(<vscale x 2 x i64> %va, <vscale x 2 x i64> %b, i32 zeroext %evl) {
%C1 = icmp sge i8 1, -128
%A = alloca i1, align 1
store i1 poison, ptr %A, align 1
%v = call <vscale x 2 x i64> @llvm.vp.udiv.nxv2i64(<vscale x 2 x i64> %va, <vscale x 2 x i64> %b, <vscale x 2 x i1> splat (i1 true), i32 %evl)
store i1 %C1, ptr %A, align 1
ret <vscale x 2 x i64> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 2 x i64> @llvm.vp.udiv.nxv2i64(<vscale x 2 x i64>, <vscale x 2 x i64>, <vscale x 2 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.nxv2i64: ' %v = call <vscale x 2 x i64> @llvm.vp.udiv.nxv2i64(<vscale x 2 x i64> %va, <vscale x 2 x i64> %b, <vscale x 2 x i1> splat (i1 true), i32 %evl)' (in function: vdivu_vv_nxv2i64_unmasked)
warning: Instruction selection used fallback path for vdivu_vv_nxv2i64_unmasked
Occurrences (6):
| Input | Function | Config |
|---|
| vdivu-vp.11851d9b54.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv2i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbkb -O2 |
| vdivu-vp.1b5f17141f.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv2i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vdivu-vp.22c6554dc7.ll (mutant of vdivu-vp.ll) | vdivu_vv_nxv2i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vdivu-vp.5b908befb2.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv2i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d,+zve32x -O2 |
| vdivu-vp.9e15011675.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv2i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba -O2 |
| vdivu-vp.b3efd2359c.ll (mutant of vdivu-vp.ll) | vdivu_vx_nxv2i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
Generated 2026-11-29 14:49 UTC.