fallback: translate: call llvm.vp.sdiv.nxv1i16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.sdiv.nxv1i16 M |
| Occurrences: | 7 in 6 configs, 1 test files, 5 more counted only |
| Snippet from: | vdiv-vp.21ac41e169.ll (mutant of vdiv-vp.ll) @vdiv_vv_nxv1i16_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvbb -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global float
define <vscale x 1 x i16> @vdiv_vv_nxv1i16_unmasked(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, i32 zeroext %evl) {
%LGV = load float, ptr @G.1, align 4
%C = fcmp true float %LGV, 0.000000e+00
%v = call <vscale x 1 x i16> @llvm.vp.sdiv.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> splat (i1 true), i32 %evl)
store i1 %C, ptr poison, align 1
ret <vscale x 1 x i16> %v
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare <vscale x 1 x i16> @llvm.vp.sdiv.nxv1i16(<vscale x 1 x i16>, <vscale x 1 x i16>, <vscale x 1 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvbb -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvbb -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.sdiv.nxv1i16: ' %v = call <vscale x 1 x i16> @llvm.vp.sdiv.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> splat (i1 true), i32 %evl)' (in function: vdiv_vv_nxv1i16_unmasked)
warning: Instruction selection used fallback path for vdiv_vv_nxv1i16_unmasked
Occurrences (7):
| Input | Function | Config |
|---|
| vdiv-vp.20e07b10e6.ll (mutant of vdiv-vp.ll) | vdiv_vv_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvfh -O2 -code-model=medium |
| vdiv-vp.21ac41e169.ll (mutant of vdiv-vp.ll) | vdiv_vv_nxv1i16_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvbb -O2 |
| vdiv-vp.41ad49cfa5.ll (mutant of vdiv-vp.ll) | vdiv_vv_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vdiv-vp.618486b8b5.ll (mutant of vdiv-vp.ll) | vdiv_vx_nxv1i16_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbb -O0 |
| vdiv-vp.ba97d5bd3b.ll (mutant of vdiv-vp.ll) | vdiv_vx_nxv1i16_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vdiv-vp.dcba04147c.ll (mutant of vdiv-vp.ll) | vdiv_vx_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f -O3 -code-model=small |
| vdiv-vp.faf3d4b7f8.ll (mutant of vdiv-vp.ll) | vdiv_vx_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
Generated 2026-11-29 14:49 UTC.